1
0
Fork 0
forked from len0rd/rockbox

Fix typo in and clarify comment.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30309 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2011-08-14 15:21:26 +00:00
parent d1322b7159
commit 7695b0403f

View file

@ -155,8 +155,8 @@ void pcm_play_dma_start(const void *addr, size_t size)
void pcm_play_dma_stop(void) void pcm_play_dma_stop(void)
{ {
/* NOTE: due to how pcm_play_get_more_callback() works, this is /* NOTE: due to how pcm_play_get_more_callback() works, this is
* possibly called from writeNative(), i.e. another thread. * possibly called from nativeWrite(), i.e. another (host) thread
* => We need to discover the env_ptr */ * => need to discover the appropriate JNIEnv* */
JNIEnv* env = getJavaEnvironment(); JNIEnv* env = getJavaEnvironment();
(*env)->CallVoidMethod(env, (*env)->CallVoidMethod(env,
RockboxPCM_instance, RockboxPCM_instance,