summaryrefslogtreecommitdiff
path: root/firmware/target/hosted
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-09-01 12:15:43 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-09-01 12:15:43 +0000
commit4db3e8965270dfe813a14c5ee9bcd0b645eb2edf (patch)
treeff785e25196226037c509428497b95f0e1e219b9 /firmware/target/hosted
parentd67d6a8462e02770d81d6a01f3193d0a2050fbe2 (diff)
downloadrockbox-4db3e8965270dfe813a14c5ee9bcd0b645eb2edf.tar.gz
rockbox-4db3e8965270dfe813a14c5ee9bcd0b645eb2edf.zip
Shuffle some functions around so that interfacing with playback.c in particular isn't required. Though playback does finish the audio init, pcm doesn't care who does it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30403 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r--firmware/target/hosted/android/pcm-android.c2
-rw-r--r--firmware/target/hosted/maemo/pcm-gstreamer.c2
-rw-r--r--firmware/target/hosted/sdl/pcm-sdl.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/hosted/android/pcm-android.c b/firmware/target/hosted/android/pcm-android.c
index 6492a779f2..4e58707d0a 100644
--- a/firmware/target/hosted/android/pcm-android.c
+++ b/firmware/target/hosted/android/pcm-android.c
@@ -206,7 +206,7 @@ void pcm_play_dma_init(void)
206 write_method = e->GetMethodID(env_ptr, RockboxPCM_class, "write", "([BII)I"); 206 write_method = e->GetMethodID(env_ptr, RockboxPCM_class, "write", "([BII)I");
207} 207}
208 208
209void pcm_postinit(void) 209void pcm_play_dma_postinit(void)
210{ 210{
211} 211}
212 212
diff --git a/firmware/target/hosted/maemo/pcm-gstreamer.c b/firmware/target/hosted/maemo/pcm-gstreamer.c
index 6e049dbbff..d6879ea083 100644
--- a/firmware/target/hosted/maemo/pcm-gstreamer.c
+++ b/firmware/target/hosted/maemo/pcm-gstreamer.c
@@ -397,7 +397,7 @@ void pcm_shutdown_gstreamer(void)
397 g_main_loop_unref (pcm_loop); 397 g_main_loop_unref (pcm_loop);
398} 398}
399 399
400void pcm_postinit(void) 400void pcm_play_dma_postinit(void)
401{ 401{
402} 402}
403 403
diff --git a/firmware/target/hosted/sdl/pcm-sdl.c b/firmware/target/hosted/sdl/pcm-sdl.c
index dfdd90f29b..020928d572 100644
--- a/firmware/target/hosted/sdl/pcm-sdl.c
+++ b/firmware/target/hosted/sdl/pcm-sdl.c
@@ -410,7 +410,7 @@ void pcm_play_dma_init(void)
410 pcm_dma_apply_settings_nolock(); 410 pcm_dma_apply_settings_nolock();
411} 411}
412 412
413void pcm_postinit(void) 413void pcm_play_dma_postinit(void)
414{ 414{
415} 415}
416 416