diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2005-06-18 22:23:54 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2005-06-18 22:23:54 +0000 |
| commit | 2c0a58c2382ccf9a6195c679f820a9896fd1dbaa (patch) | |
| tree | 28e6188d6379a495a37cdf2c3ae9774af37262db | |
| parent | f77547c1478b67988d7cc493b0a4ccd681e026e9 (diff) | |
| download | rockbox-2c0a58c2382ccf9a6195c679f820a9896fd1dbaa.zip rockbox-2c0a58c2382ccf9a6195c679f820a9896fd1dbaa.tar.gz rockbox-2c0a58c2382ccf9a6195c679f820a9896fd1dbaa.tar.bz2 rockbox-2c0a58c2382ccf9a6195c679f820a9896fd1dbaa.tar.xz | |
prevent build failures for non-iriver targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6762 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/pcm_playback.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c index eab6fe1..0ab3d02 100644 --- a/firmware/pcm_playback.c +++ b/firmware/pcm_playback.c @@ -40,6 +40,8 @@ #include "button.h" #include <string.h> +#ifdef HAVE_UDA1380 + #define CHUNK_SIZE 32768 /* Must be a power of 2 */ #define NUM_PCM_BUFFERS (PCMBUF_SIZE / CHUNK_SIZE) @@ -523,3 +525,5 @@ void pcm_play_start(void) pcm_play_data(start, size, pcm_play_callback); } } + +#endif /* HAVE_UDA1380 */ |