diff options
Diffstat (limited to 'firmware/pcm_playback.c')
-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 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 */ | ||