|
7 | 7 |
|
8 | 8 | #include <stdarg.h> |
9 | 9 |
|
10 | | -AK_API DSPRef akCreateDSP(OSType code); |
11 | | -AK_API AUParameterAddress akGetParameterAddress(const char* name); |
| 10 | +CF_EXTERN_C_BEGIN |
12 | 11 |
|
13 | | -AK_API AUInternalRenderBlock internalRenderBlockDSP(DSPRef pDSP); |
| 12 | +DSPRef akCreateDSP(OSType code); |
| 13 | +AUParameterAddress akGetParameterAddress(const char* name); |
14 | 14 |
|
15 | | -AK_API size_t inputBusCountDSP(DSPRef pDSP); |
16 | | -AK_API bool canProcessInPlaceDSP(DSPRef pDSP); |
| 15 | +AUInternalRenderBlock internalRenderBlockDSP(DSPRef pDSP); |
17 | 16 |
|
18 | | -AK_API void setBufferDSP(DSPRef pDSP, AudioBufferList* buffer, size_t busIndex); |
19 | | -AK_API void allocateRenderResourcesDSP(DSPRef pDSP, uint32_t channelCount, double sampleRate); |
20 | | -AK_API void deallocateRenderResourcesDSP(DSPRef pDSP); |
21 | | -AK_API void resetDSP(DSPRef pDSP); |
| 17 | +size_t inputBusCountDSP(DSPRef pDSP); |
| 18 | +bool canProcessInPlaceDSP(DSPRef pDSP); |
22 | 19 |
|
23 | | -AK_API void setParameterValueDSP(DSPRef pDSP, AUParameterAddress address, AUValue value); |
24 | | -AK_API AUValue getParameterValueDSP(DSPRef pDSP, AUParameterAddress address); |
| 20 | +void setBufferDSP(DSPRef pDSP, AudioBufferList* buffer, size_t busIndex); |
| 21 | +void allocateRenderResourcesDSP(DSPRef pDSP, uint32_t channelCount, double sampleRate); |
| 22 | +void deallocateRenderResourcesDSP(DSPRef pDSP); |
| 23 | +void resetDSP(DSPRef pDSP); |
25 | 24 |
|
26 | | -AK_API void setBypassDSP(DSPRef pDSP, bool bypassed); |
27 | | -AK_API bool getBypassDSP(DSPRef pDSP); |
| 25 | +void setParameterValueDSP(DSPRef pDSP, AUParameterAddress address, AUValue value); |
| 26 | +AUValue getParameterValueDSP(DSPRef pDSP, AUParameterAddress address); |
28 | 27 |
|
29 | | -AK_API void initializeConstantDSP(DSPRef pDSP, AUValue value); |
| 28 | +void setBypassDSP(DSPRef pDSP, bool bypassed); |
| 29 | +bool getBypassDSP(DSPRef pDSP); |
30 | 30 |
|
31 | | -AK_API void setWavetableDSP(DSPRef pDSP, const float* table, size_t length, int index); |
| 31 | +void initializeConstantDSP(DSPRef pDSP, AUValue value); |
32 | 32 |
|
33 | | -AK_API void deleteDSP(DSPRef pDSP); |
| 33 | +void setWavetableDSP(DSPRef pDSP, const float* table, size_t length, int index); |
| 34 | + |
| 35 | +void deleteDSP(DSPRef pDSP); |
34 | 36 |
|
35 | 37 | /// Reset random seed to ensure deterministic results in tests. |
36 | | -AK_API void akSetSeed(unsigned int); |
| 38 | +void akSetSeed(unsigned int); |
| 39 | + |
| 40 | +CF_EXTERN_C_END |
37 | 41 |
|
38 | 42 | #ifdef __cplusplus |
39 | 43 |
|
|
0 commit comments