summaryrefslogtreecommitdiff
path: root/firmware/pcm_playback.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-06-18 22:23:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-06-18 22:23:54 +0000
commit2c0a58c2382ccf9a6195c679f820a9896fd1dbaa (patch)
tree28e6188d6379a495a37cdf2c3ae9774af37262db /firmware/pcm_playback.c
parentf77547c1478b67988d7cc493b0a4ccd681e026e9 (diff)
downloadrockbox-2c0a58c2382ccf9a6195c679f820a9896fd1dbaa.tar.gz
rockbox-2c0a58c2382ccf9a6195c679f820a9896fd1dbaa.zip
prevent build failures for non-iriver targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6762 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/pcm_playback.c')
-rw-r--r--firmware/pcm_playback.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c
index eab6fe1f15..0ab3d0272f 100644
--- a/firmware/pcm_playback.c
+++ b/firmware/pcm_playback.c
@@ -40,6 +40,8 @@
40#include "button.h" 40#include "button.h"
41#include <string.h> 41#include <string.h>
42 42
43#ifdef HAVE_UDA1380
44
43#define CHUNK_SIZE 32768 45#define CHUNK_SIZE 32768
44/* Must be a power of 2 */ 46/* Must be a power of 2 */
45#define NUM_PCM_BUFFERS (PCMBUF_SIZE / CHUNK_SIZE) 47#define NUM_PCM_BUFFERS (PCMBUF_SIZE / CHUNK_SIZE)
@@ -523,3 +525,5 @@ void pcm_play_start(void)
523 pcm_play_data(start, size, pcm_play_callback); 525 pcm_play_data(start, size, pcm_play_callback);
524 } 526 }
525} 527}
528
529#endif /* HAVE_UDA1380 */