diff options
Diffstat (limited to 'src/cubeb-jni.h')
-rw-r--r-- | src/cubeb-jni.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/cubeb-jni.h b/src/cubeb-jni.h index d63629f..0a2d41a 100644 --- a/src/cubeb-jni.h +++ b/src/cubeb-jni.h @@ -2,6 +2,13 @@ #define _CUBEB_JNI_H_ typedef struct cubeb_jni cubeb_jni; +typedef struct cubeb_fx cubeb_fx; +enum cubeb_fx_type { + CUBEB_FX_ACOUSTIC_ECHO_CANCELER, + CUBEB_FX_AUTOMATIC_GAIN_CONTROL, + CUBEB_FX_NOISE_SUPPRESSOR, + CUBEB_FX_SENTINEL__, +}; #ifdef __cplusplus extern "C" { @@ -9,8 +16,19 @@ extern "C" { cubeb_jni * cubeb_jni_init(); + +bool +cubeb_fx_is_available(cubeb_jni * cubeb_jni_ptr, cubeb_fx_type type); +cubeb_fx * +cubeb_fx_init(cubeb_jni * cubeb_jni_ptr, cubeb_fx_type type, int audio_session); +int +cubeb_fx_set_enabled(cubeb_fx * cubeb_fx_ptr, bool enabled); +void +cubeb_fx_destroy(cubeb_fx * cubeb_fx_ptr); + int cubeb_get_output_latency_from_jni(cubeb_jni * cubeb_jni_ptr); + void cubeb_jni_destroy(cubeb_jni * cubeb_jni_ptr); |