diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/hosted/android/pcm-android.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/hosted/android/pcm-android.c b/firmware/target/hosted/android/pcm-android.c index 3143bc90ec..6492a779f2 100644 --- a/firmware/target/hosted/android/pcm-android.c +++ b/firmware/target/hosted/android/pcm-android.c | |||
@@ -155,8 +155,8 @@ void pcm_play_dma_start(const void *addr, size_t size) | |||
155 | void pcm_play_dma_stop(void) | 155 | void pcm_play_dma_stop(void) |
156 | { | 156 | { |
157 | /* NOTE: due to how pcm_play_get_more_callback() works, this is | 157 | /* NOTE: due to how pcm_play_get_more_callback() works, this is |
158 | * possibly called from writeNative(), i.e. another thread. | 158 | * possibly called from nativeWrite(), i.e. another (host) thread |
159 | * => We need to discover the env_ptr */ | 159 | * => need to discover the appropriate JNIEnv* */ |
160 | JNIEnv* env = getJavaEnvironment(); | 160 | JNIEnv* env = getJavaEnvironment(); |
161 | (*env)->CallVoidMethod(env, | 161 | (*env)->CallVoidMethod(env, |
162 | RockboxPCM_instance, | 162 | RockboxPCM_instance, |