Add missing extern "C"

This commit is contained in:
Chris Robinson 2018-10-27 18:56:11 -07:00
parent f1058c635f
commit 5148a73a7b

View File

@ -4,6 +4,10 @@
#include "AL/al.h"
#include "alBuffer.h"
#ifdef __cplusplus
extern "C" {
#endif
extern const ALshort muLawDecompressionTable[256];
extern const ALshort aLawDecompressionTable[256];
@ -12,4 +16,8 @@ void Convert_ALshort_ALima4(ALshort *dst, const ALubyte *src, ALsizei numchans,
void Convert_ALshort_ALmsadpcm(ALshort *dst, const ALubyte *src, ALsizei numchans, ALsizei len,
ALsizei align);
#ifdef __cplusplus
} // extern "C"
#endif
#endif /* SAMPLE_CVT_H */