diff --git a/jni/libavosjni/avos_media_metadata_retriever.c b/jni/libavosjni/avos_media_metadata_retriever.c index 458467f..761578e 100644 --- a/jni/libavosjni/avos_media_metadata_retriever.c +++ b/jni/libavosjni/avos_media_metadata_retriever.c @@ -19,11 +19,16 @@ #include #include #include +#include +#include #include "jni.h" #include "libavos.h" +int jniThrowException(C_JNIEnv* env, const char* className, const char* msg); +int jniGetFDFromFileDescriptor(C_JNIEnv* env, jobject fileDescriptor); + static const avos_mr_handle_t *avos = NULL; static const avos_metadata_handle_t *avos_metadata = NULL; diff --git a/jni/libavosjni/avos_media_player.c b/jni/libavosjni/avos_media_player.c index 895674b..6baff1a 100644 --- a/jni/libavosjni/avos_media_player.c +++ b/jni/libavosjni/avos_media_player.c @@ -21,11 +21,15 @@ #include #include #include +#include #include #include "jni.h" +int jniThrowException(C_JNIEnv* env, const char* className, const char* msg); +int jniGetFDFromFileDescriptor(C_JNIEnv* env, jobject fileDescriptor); + #include "libavos.h" typedef struct event_msg { diff --git a/jni/libavosjni/libavos.c b/jni/libavosjni/libavos.c index 0f76270..94cb012 100644 --- a/jni/libavosjni/libavos.c +++ b/jni/libavosjni/libavos.c @@ -22,6 +22,8 @@ #include #include #include +#include +#include #include "jni.h" #include "libavos.h" @@ -38,6 +40,8 @@ void libavos_set_audio_interface(int audio_interface); void libavos_set_codepage(int codepage); void libavos_set_output_sample_rate(int sample_rate); void libavos_set_passthrough(int force_passthrough); +void libavos_set_downmix(int downmix); +void libavos_set_hdmi_supported_audio_codecs(long flag); fields_t fields; extern JavaVM *myVm;