forked from len0rd/rockbox
prevent build failures for non-iriver targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6762 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f77547c147
commit
2c0a58c238
1 changed files with 4 additions and 0 deletions
|
|
@ -40,6 +40,8 @@
|
||||||
#include "button.h"
|
#include "button.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_UDA1380
|
||||||
|
|
||||||
#define CHUNK_SIZE 32768
|
#define CHUNK_SIZE 32768
|
||||||
/* Must be a power of 2 */
|
/* Must be a power of 2 */
|
||||||
#define NUM_PCM_BUFFERS (PCMBUF_SIZE / CHUNK_SIZE)
|
#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);
|
pcm_play_data(start, size, pcm_play_callback);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* HAVE_UDA1380 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue