diff options
author | Thomas Martitz <kugel@rockbox.org> | 2012-01-04 00:10:47 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2012-01-04 00:10:47 +0000 |
commit | 0f714756061924b2e7a4f93d5246b83e96220726 (patch) | |
tree | 952a39f97d22412e97ffdacc033f66a73f5fb483 /firmware/target/hosted/android/system-android.c | |
parent | 5d9759a76e7e6fc73c89751a1644fc57e1111ec4 (diff) | |
download | rockbox-0f714756061924b2e7a4f93d5246b83e96220726.tar.gz rockbox-0f714756061924b2e7a4f93d5246b83e96220726.zip |
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
Diffstat (limited to 'firmware/target/hosted/android/system-android.c')
-rw-r--r-- | firmware/target/hosted/android/system-android.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/target/hosted/android/system-android.c b/firmware/target/hosted/android/system-android.c index e48e910c0c..b3c4cdccb5 100644 --- a/firmware/target/hosted/android/system-android.c +++ b/firmware/target/hosted/android/system-android.c | |||
@@ -38,7 +38,6 @@ uintptr_t *stackend; | |||
38 | 38 | ||
39 | extern int main(void); | 39 | extern int main(void); |
40 | extern void telephony_init_device(void); | 40 | extern void telephony_init_device(void); |
41 | extern void pcm_shutdown(void); | ||
42 | 41 | ||
43 | void system_exception_wait(void) { } | 42 | void system_exception_wait(void) { } |
44 | void system_reboot(void) { } | 43 | void system_reboot(void) { } |
@@ -93,8 +92,6 @@ Java_org_rockbox_RockboxService_main(JNIEnv *env, jobject this) | |||
93 | 92 | ||
94 | main(); | 93 | main(); |
95 | } | 94 | } |
96 | |||
97 | pcm_shutdown(); | ||
98 | /* simply return here. this will allow the VM to clean up objects and do | 95 | /* simply return here. this will allow the VM to clean up objects and do |
99 | * garbage collection */ | 96 | * garbage collection */ |
100 | } | 97 | } |