summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/hosted/android/pcm-android.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/hosted/android/pcm-android.c b/firmware/target/hosted/android/pcm-android.c
index 0f59f3f2ab..4c34e3cd91 100644
--- a/firmware/target/hosted/android/pcm-android.c
+++ b/firmware/target/hosted/android/pcm-android.c
@@ -33,7 +33,6 @@ static char *pcm_data_start;
33static jmethodID play_pause_method; 33static jmethodID play_pause_method;
34static jmethodID stop_method; 34static jmethodID stop_method;
35static jmethodID set_volume_method; 35static jmethodID set_volume_method;
36static jclass RockboxPCM_class;
37static jobject RockboxPCM_instance; 36static jobject RockboxPCM_instance;
38 37
39 38
@@ -158,7 +157,7 @@ void pcm_play_dma_init(void)
158 JNIEnv *env_ptr = getJavaEnvironment(); 157 JNIEnv *env_ptr = getJavaEnvironment();
159 JNIEnv e = *env_ptr; 158 JNIEnv e = *env_ptr;
160 /* get the class and its constructor */ 159 /* get the class and its constructor */
161 RockboxPCM_class = e->FindClass(env_ptr, "org/rockbox/RockboxPCM"); 160 jclass RockboxPCM_class = e->FindClass(env_ptr, "org/rockbox/RockboxPCM");
162 jmethodID constructor = e->GetMethodID(env_ptr, RockboxPCM_class, "<init>", "()V"); 161 jmethodID constructor = e->GetMethodID(env_ptr, RockboxPCM_class, "<init>", "()V");
163 /* instance = new RockboxPCM() */ 162 /* instance = new RockboxPCM() */
164 RockboxPCM_instance = e->NewObject(env_ptr, RockboxPCM_class, constructor); 163 RockboxPCM_instance = e->NewObject(env_ptr, RockboxPCM_class, constructor);