diff options
Diffstat (limited to 'src/android/cubeb-output-latency.h')
-rw-r--r-- | src/android/cubeb-output-latency.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/android/cubeb-output-latency.h b/src/android/cubeb-output-latency.h index 2128cd1..870a884 100644 --- a/src/android/cubeb-output-latency.h +++ b/src/android/cubeb-output-latency.h @@ -1,9 +1,9 @@ #ifndef _CUBEB_OUTPUT_LATENCY_H_ #define _CUBEB_OUTPUT_LATENCY_H_ -#include <stdbool.h> -#include "cubeb_media_library.h" #include "../cubeb-jni.h" +#include "cubeb_media_library.h" +#include <stdbool.h> struct output_latency_function { media_lib * from_lib; @@ -23,7 +23,7 @@ cubeb_output_latency_load_method(int version) ol->version = version; - if (ol->version > ANDROID_JELLY_BEAN_MR1_4_2){ + if (ol->version > ANDROID_JELLY_BEAN_MR1_4_2) { ol->from_jni = cubeb_jni_init(); return ol; } @@ -36,7 +36,7 @@ bool cubeb_output_latency_method_is_loaded(output_latency_function * ol) { assert(ol); - if (ol->version > ANDROID_JELLY_BEAN_MR1_4_2){ + if (ol->version > ANDROID_JELLY_BEAN_MR1_4_2) { return !!ol->from_jni; } @@ -66,7 +66,7 @@ cubeb_get_output_latency(output_latency_function * ol) { assert(cubeb_output_latency_method_is_loaded(ol)); - if (ol->version > ANDROID_JELLY_BEAN_MR1_4_2){ + if (ol->version > ANDROID_JELLY_BEAN_MR1_4_2) { return cubeb_get_output_latency_from_jni(ol->from_jni); } |