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:
parent
d1322b7159
commit
7695b0403f
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue