1
0
Fork 0
forked from len0rd/rockbox

android: move pcm_shutdown() to audiohw_close() now that it's properly called from powermgmt.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31551 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2012-01-04 00:10:47 +00:00
parent 5d9759a76e
commit 0f71475606
2 changed files with 5 additions and 4 deletions

View file

@ -60,4 +60,8 @@ void audiohw_set_balance(int balance)
(void)balance;
}
void audiohw_close(void) {}
void audiohw_close(void)
{
extern void pcm_shutdown(void);
pcm_shutdown();
}

View file

@ -38,7 +38,6 @@ uintptr_t *stackend;
extern int main(void);
extern void telephony_init_device(void);
extern void pcm_shutdown(void);
void system_exception_wait(void) { }
void system_reboot(void) { }
@ -93,8 +92,6 @@ Java_org_rockbox_RockboxService_main(JNIEnv *env, jobject this)
main();
}
pcm_shutdown();
/* simply return here. this will allow the VM to clean up objects and do
* garbage collection */
}