summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/hosted/sdl/pcm-sdl.c15
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 @@
#include "audiohw.h"
#include "system.h"
+#ifdef HAVE_RECORDING
+#include "audiohw.h"
+#endif
+
#include "pcm.h"
#include "pcm_sampr.h"
@@ -284,16 +288,19 @@ void pcm_rec_dma_stop(void)
{
}
-unsigned long pcm_rec_status(void)
+const void * pcm_rec_dma_get_peak_buffer(void)
{
- return 0;
+ return NULL;
}
-const void * pcm_rec_dma_get_peak_buffer(void)
+void audiohw_set_recvol(int left, int right, int type)
{
- return NULL;
+ (void)left;
+ (void)right;
+ (void)type;
}
+
#endif /* HAVE_RECORDING */
void pcm_play_dma_init(void)