diff options
author | Chris Robinson <[email protected]> | 2018-10-27 18:56:11 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-10-29 10:10:37 -0700 |
commit | 5148a73a7bc8cc0cad1e157930c936c75e40da2e (patch) | |
tree | 4f50e867976c982d1ab9669ba920909cc9cd5932 /OpenAL32/Include | |
parent | f1058c635f629cb8e2adb791a3cf3bba7fe7c248 (diff) |
Add missing extern "C"
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/sample_cvt.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenAL32/Include/sample_cvt.h b/OpenAL32/Include/sample_cvt.h index c041760e..a3b53d44 100644 --- a/OpenAL32/Include/sample_cvt.h +++ b/OpenAL32/Include/sample_cvt.h @@ -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 */ |