diff options
author | Paul Adenot <[email protected]> | 2023-08-17 17:09:14 +0200 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2023-08-25 20:09:58 +0200 |
commit | 33ade008b5befa3a56871e61078d5a5d923bcbf8 (patch) | |
tree | 8915e355e16088197747e9659234f42218299913 /src/cubeb-jni.h | |
parent | ac8474a5929e9de3bce84f16f8c589240eb9f7c4 (diff) | |
download | cubeb-33ade008b5befa3a56871e61078d5a5d923bcbf8.tar.gz cubeb-33ade008b5befa3a56871e61078d5a5d923bcbf8.zip |
OpenSLES: compile as C++
Diffstat (limited to 'src/cubeb-jni.h')
-rw-r--r-- | src/cubeb-jni.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cubeb-jni.h b/src/cubeb-jni.h index c4a712a..d63629f 100644 --- a/src/cubeb-jni.h +++ b/src/cubeb-jni.h @@ -3,6 +3,10 @@ typedef struct cubeb_jni cubeb_jni; +#ifdef __cplusplus +extern "C" { +#endif + cubeb_jni * cubeb_jni_init(); int @@ -10,4 +14,8 @@ cubeb_get_output_latency_from_jni(cubeb_jni * cubeb_jni_ptr); void cubeb_jni_destroy(cubeb_jni * cubeb_jni_ptr); +#ifdef __cplusplus +}; +#endif + #endif // _CUBEB_JNI_H_ |