diff options
| author | Dave Chapman <dave@dchapman.com> | 2006-02-24 19:02:55 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2006-02-24 19:02:55 +0000 |
| commit | 6c2fafb98b3c1d7640102e2eb290f8c04a5c0b5e (patch) | |
| tree | 1add4ccde5e8950f2521e3dfa9ea33c3ca59c109 | |
| parent | 39b428efca836dfecfd500ded091482e02f45fd0 (diff) | |
| download | rockbox-6c2fafb98b3c1d7640102e2eb290f8c04a5c0b5e.zip rockbox-6c2fafb98b3c1d7640102e2eb290f8c04a5c0b5e.tar.gz rockbox-6c2fafb98b3c1d7640102e2eb290f8c04a5c0b5e.tar.bz2 rockbox-6c2fafb98b3c1d7640102e2eb290f8c04a5c0b5e.tar.xz | |
Make pcm_playback.c compile for the iPod 3G - there is no playback implemented yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8833 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/pcm_playback.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c index daa2e2a..a9d9ecd 100644 --- a/firmware/pcm_playback.c +++ b/firmware/pcm_playback.c @@ -625,9 +625,9 @@ void pcm_init(void) dma_stop(); } -#elif CONFIG_CPU == PNX0101 +#elif (CONFIG_CPU == PNX0101) || (CONFIG_CPU == PP5002) -/* TODO: Implement for iFP7xx +/* TODO: Implement for iFP7xx and iPod 3G For now, just implement some dummy functions. */ @@ -686,7 +686,7 @@ size_t pcm_get_bytes_waiting(void) #endif -#if CONFIG_CPU != PNX0101 +#if (CONFIG_CPU != PNX0101) && (CONFIG_CPU != PP5002) /* * This function goes directly into the DMA buffer to calculate the left and * right peak values. To avoid missing peaks it tries to look forward two full |