diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2006-12-29 02:49:12 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2006-12-29 02:49:12 +0000 |
commit | 295367686ec9855c4d90f68a6003e819fef8e7ab (patch) | |
tree | b4077ffb8d2283bf199ad12a90322be77040c2fd /firmware/pcm_playback.c | |
parent | 995a804defda23233ccbdd859023f4ba3ecba0bf (diff) | |
download | rockbox-295367686ec9855c4d90f68a6003e819fef8e7ab.tar.gz rockbox-295367686ec9855c4d90f68a6003e819fef8e7ab.zip |
merge a big part of the unofficial gigabeat cvs back. Includes working bootloader and rockbox with audio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11850 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/pcm_playback.c')
-rw-r--r-- | firmware/pcm_playback.c | 41 |
1 files changed, 2 insertions, 39 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c index 92a4c3e5c7..2bff437ef0 100644 --- a/firmware/pcm_playback.c +++ b/firmware/pcm_playback.c | |||
@@ -59,46 +59,9 @@ void pcm_play_pause_unpause(void); | |||
59 | 59 | ||
60 | /** Functions that require targeted implementation **/ | 60 | /** Functions that require targeted implementation **/ |
61 | 61 | ||
62 | #ifndef CPU_COLDFIRE | 62 | #if !defined(CPU_COLDFIRE) && (CONFIG_CPU != S3C2440) |
63 | 63 | ||
64 | #if (CONFIG_CPU == S3C2440) | 64 | #if (CONFIG_CPU == PNX0101) |
65 | |||
66 | /* TODO: Implement for Gigabeat | ||
67 | For now, just implement some dummy functions. | ||
68 | */ | ||
69 | void pcm_init(void) | ||
70 | { | ||
71 | } | ||
72 | |||
73 | void pcm_play_dma_start(const void *addr, size_t size) | ||
74 | { | ||
75 | (void)addr; | ||
76 | (void)size; | ||
77 | } | ||
78 | |||
79 | void pcm_play_dma_stop(void) | ||
80 | { | ||
81 | } | ||
82 | |||
83 | void pcm_play_pause_pause(void) | ||
84 | { | ||
85 | } | ||
86 | |||
87 | void pcm_play_pause_unpause(void) | ||
88 | { | ||
89 | } | ||
90 | |||
91 | void pcm_set_frequency(unsigned int frequency) | ||
92 | { | ||
93 | (void)frequency; | ||
94 | } | ||
95 | |||
96 | size_t pcm_get_bytes_waiting(void) | ||
97 | { | ||
98 | return 0; | ||
99 | } | ||
100 | |||
101 | #elif (CONFIG_CPU == PNX0101) | ||
102 | 65 | ||
103 | #define DMA_BUF_SAMPLES 0x100 | 66 | #define DMA_BUF_SAMPLES 0x100 |
104 | 67 | ||