Convert ALc.c to C++
This commit is contained in:
parent
dfcb6d3e6d
commit
3021a426c0
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,10 @@
|
||||
#ifndef FILTER_NFC_H
|
||||
#define FILTER_NFC_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct NfcFilter1 {
|
||||
float base_gain, gain;
|
||||
float b1, a1;
|
||||
@ -46,4 +50,8 @@ void NfcFilterProcess2(NfcFilter *nfc, float *RESTRICT dst, const float *RESTRIC
|
||||
/* Near-field control filter for third-order ambisonic channels (9-15). */
|
||||
void NfcFilterProcess3(NfcFilter *nfc, float *RESTRICT dst, const float *RESTRICT src, const int count);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif /* FILTER_NFC_H */
|
||||
|
@ -6,6 +6,10 @@
|
||||
/* For BUFFERSIZE. */
|
||||
#include "alMain.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct Compressor;
|
||||
|
||||
/* The compressor is initialized with the following settings:
|
||||
@ -46,4 +50,8 @@ void ApplyCompression(struct Compressor *Comp, const ALsizei SamplesToDo,
|
||||
|
||||
ALsizei GetCompressorLookAhead(const struct Compressor *Comp);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif /* MASTERING_H */
|
||||
|
@ -839,7 +839,7 @@ SET(OPENAL_OBJS
|
||||
OpenAL32/sample_cvt.c
|
||||
)
|
||||
SET(ALC_OBJS
|
||||
Alc/ALc.c
|
||||
Alc/alc.cpp
|
||||
Alc/ALu.c
|
||||
Alc/alconfig.cpp
|
||||
Alc/alconfig.h
|
||||
|
Loading…
x
Reference in New Issue
Block a user