aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb-jni.h
blob: c5bed6d1eefd97604ba6326fb2350156e580356e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef _CUBEB_JNI_H_
#define _CUBEB_JNI_H_

typedef struct cubeb_jni cubeb_jni;

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" {
#endif

cubeb_jni *
cubeb_jni_init();

bool
cubeb_fx_is_available(cubeb_jni * cubeb_jni_ptr, cubeb_fx_type type);

int
cubeb_audio_manager_get_output_latency(cubeb_jni * cubeb_jni_ptr);

void
cubeb_jni_destroy(cubeb_jni * cubeb_jni_ptr);

#ifdef __cplusplus
};
#endif

#endif // _CUBEB_JNI_H_