mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Enable source code formatting
PiperOrigin-RevId: 375979170
This commit is contained in:
parent
ee2af43a54
commit
095e2feb20
2 changed files with 8 additions and 10 deletions
|
|
@ -23,7 +23,6 @@ import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
import android.content.pm.PackageManager;
|
import android.content.pm.PackageManager;
|
||||||
import android.content.pm.ResolveInfo;
|
|
||||||
import android.content.res.AssetManager;
|
import android.content.res.AssetManager;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
|
|
|
||||||
|
|
@ -29,15 +29,14 @@
|
||||||
#define ALOGV(...) \
|
#define ALOGV(...) \
|
||||||
((void)__android_log_print(ANDROID_LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
|
((void)__android_log_print(ANDROID_LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
|
||||||
|
|
||||||
#define DECODER_FUNC(RETURN_TYPE, NAME, ...) \
|
#define DECODER_FUNC(RETURN_TYPE, NAME, ...) \
|
||||||
extern "C" { \
|
extern "C" { \
|
||||||
JNIEXPORT RETURN_TYPE \
|
JNIEXPORT RETURN_TYPE \
|
||||||
Java_com_google_android_exoplayer2_ext_flac_FlacDecoderJni_##NAME(JNIEnv *env, \
|
Java_com_google_android_exoplayer2_ext_flac_FlacDecoderJni_##NAME( \
|
||||||
jobject thiz, \
|
JNIEnv *env, jobject thiz, ##__VA_ARGS__); \
|
||||||
##__VA_ARGS__); \
|
} \
|
||||||
} \
|
JNIEXPORT RETURN_TYPE \
|
||||||
JNIEXPORT RETURN_TYPE \
|
Java_com_google_android_exoplayer2_ext_flac_FlacDecoderJni_##NAME( \
|
||||||
Java_com_google_android_exoplayer2_ext_flac_FlacDecoderJni_##NAME( \
|
|
||||||
JNIEnv *env, jobject thiz, ##__VA_ARGS__)
|
JNIEnv *env, jobject thiz, ##__VA_ARGS__)
|
||||||
|
|
||||||
class JavaDataSource : public DataSource {
|
class JavaDataSource : public DataSource {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue