aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb-jni.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cubeb-jni.cpp')
-rw-r--r--src/cubeb-jni.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/cubeb-jni.cpp b/src/cubeb-jni.cpp
index 57c642d..064835d 100644
--- a/src/cubeb-jni.cpp
+++ b/src/cubeb-jni.cpp
@@ -125,6 +125,22 @@ cubeb_jni_init()
return cubeb_jni_ptr;
}
+extern "C" const char *
+cubeb_fx_type_description(cubeb_fx_type type)
+{
+ switch (type) {
+ case CUBEB_FX_ACOUSTIC_ECHO_CANCELER:
+ return "CUBEB_FX_ACOUSTIC_ECHO_CANCELER";
+ case CUBEB_FX_AUTOMATIC_GAIN_CONTROL:
+ return "CUBEB_FX_AUTOMATIC_GAIN_CONTROL";
+ case CUBEB_FX_NOISE_SUPPRESSOR:
+ return "CUBEB_FX_NOISE_SUPPRESSOR";
+ case CUBEB_FX_SENTINEL__:
+ return "UNKNOWN CUBEB_FX TYPE";
+ }
+ return "UNKNOWN CUBEB_FX TYPE";
+}
+
extern "C" bool
cubeb_fx_is_available(cubeb_jni * cubeb_jni_ptr, cubeb_fx_type type)
{