diff options
-rw-r--r-- | firmware/target/mips/ingenic_x1000/pcm-x1000.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_x1000/pcm-x1000.c b/firmware/target/mips/ingenic_x1000/pcm-x1000.c index ce2fbb17a9..73c568c950 100644 --- a/firmware/target/mips/ingenic_x1000/pcm-x1000.c +++ b/firmware/target/mips/ingenic_x1000/pcm-x1000.c | |||
@@ -48,6 +48,11 @@ static void pcm_play_dma_int_cb(int event); | |||
48 | static void pcm_rec_dma_int_cb(int event); | 48 | static void pcm_rec_dma_int_cb(int event); |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | /* if not otherwise defined, set to 16 */ | ||
52 | #if !defined(PCM_NATIVE_BITDEPTH) | ||
53 | # define PCM_NATIVE_BITDEPTH 16 | ||
54 | #endif | ||
55 | |||
51 | void pcm_play_dma_init(void) | 56 | void pcm_play_dma_init(void) |
52 | { | 57 | { |
53 | /* Ungate clock, assign pins. NB this overlaps with pins labeled "sa0-sa4" | 58 | /* Ungate clock, assign pins. NB this overlaps with pins labeled "sa0-sa4" |