diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-09-01 12:15:43 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-09-01 12:15:43 +0000 |
commit | 4db3e8965270dfe813a14c5ee9bcd0b645eb2edf (patch) | |
tree | ff785e25196226037c509428497b95f0e1e219b9 /firmware/target/arm/pcm-telechips.c | |
parent | d67d6a8462e02770d81d6a01f3193d0a2050fbe2 (diff) | |
download | rockbox-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/arm/pcm-telechips.c')
-rw-r--r-- | firmware/target/arm/pcm-telechips.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/arm/pcm-telechips.c b/firmware/target/arm/pcm-telechips.c index aff43171f6..ae4aa5ef38 100644 --- a/firmware/target/arm/pcm-telechips.c +++ b/firmware/target/arm/pcm-telechips.c | |||
@@ -57,11 +57,6 @@ struct dma_data dma_play_data SHAREDBSS_ATTR = | |||
57 | .state = 0 | 57 | .state = 0 |
58 | }; | 58 | }; |
59 | 59 | ||
60 | void pcm_postinit(void) | ||
61 | { | ||
62 | audiohw_postinit(); | ||
63 | } | ||
64 | |||
65 | const void * pcm_play_dma_get_peak_buffer(int *count) | 60 | const void * pcm_play_dma_get_peak_buffer(int *count) |
66 | { | 61 | { |
67 | unsigned long addr = (unsigned long)dma_play_data.p; | 62 | unsigned long addr = (unsigned long)dma_play_data.p; |
@@ -110,6 +105,11 @@ void pcm_play_dma_init(void) | |||
110 | #endif | 105 | #endif |
111 | } | 106 | } |
112 | 107 | ||
108 | void pcm_play_dma_postinit(void) | ||
109 | { | ||
110 | audiohw_postinit(); | ||
111 | } | ||
112 | |||
113 | void pcm_dma_apply_settings(void) | 113 | void pcm_dma_apply_settings(void) |
114 | { | 114 | { |
115 | } | 115 | } |