diff options
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r-- | firmware/target/hosted/sdl/pcm-sdl.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/firmware/target/hosted/sdl/pcm-sdl.c b/firmware/target/hosted/sdl/pcm-sdl.c index 811d5c7814..5591980217 100644 --- a/firmware/target/hosted/sdl/pcm-sdl.c +++ b/firmware/target/hosted/sdl/pcm-sdl.c | |||
@@ -31,6 +31,10 @@ | |||
31 | #include "audiohw.h" | 31 | #include "audiohw.h" |
32 | #include "system.h" | 32 | #include "system.h" |
33 | 33 | ||
34 | #ifdef HAVE_RECORDING | ||
35 | #include "audiohw.h" | ||
36 | #endif | ||
37 | |||
34 | #include "pcm.h" | 38 | #include "pcm.h" |
35 | #include "pcm_sampr.h" | 39 | #include "pcm_sampr.h" |
36 | 40 | ||
@@ -284,16 +288,19 @@ void pcm_rec_dma_stop(void) | |||
284 | { | 288 | { |
285 | } | 289 | } |
286 | 290 | ||
287 | unsigned long pcm_rec_status(void) | 291 | const void * pcm_rec_dma_get_peak_buffer(void) |
288 | { | 292 | { |
289 | return 0; | 293 | return NULL; |
290 | } | 294 | } |
291 | 295 | ||
292 | const void * pcm_rec_dma_get_peak_buffer(void) | 296 | void audiohw_set_recvol(int left, int right, int type) |
293 | { | 297 | { |
294 | return NULL; | 298 | (void)left; |
299 | (void)right; | ||
300 | (void)type; | ||
295 | } | 301 | } |
296 | 302 | ||
303 | |||
297 | #endif /* HAVE_RECORDING */ | 304 | #endif /* HAVE_RECORDING */ |
298 | 305 | ||
299 | void pcm_play_dma_init(void) | 306 | void pcm_play_dma_init(void) |