summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-08-14 15:21:26 +0000
committerThomas Martitz <kugel@rockbox.org>2011-08-14 15:21:26 +0000
commit7695b0403f772dd773ba25151bd8b97a7d16537e (patch)
treecc8381d1935ce7b65c454f6c0a812eea16cecb79
parentd1322b71595336740eb5e18e5deed056ddb71c7a (diff)
downloadrockbox-7695b0403f772dd773ba25151bd8b97a7d16537e.tar.gz
rockbox-7695b0403f772dd773ba25151bd8b97a7d16537e.zip
Fix typo in and clarify comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30309 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/hosted/android/pcm-android.c4
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)
155void pcm_play_dma_stop(void) 155void 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,