summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-07-04 13:37:52 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-07-04 13:37:52 +0000
commit3982f1e9322184de6bb15bbe8d04476d8bc11601 (patch)
treeb15642a5c1d6d1e3c8ed6b159ed7918f515e3d9e /firmware/target/hosted
parentbf83ac624083af0c53fdc358df8270798831d8cb (diff)
downloadrockbox-3982f1e9322184de6bb15bbe8d04476d8bc11601.tar.gz
rockbox-3982f1e9322184de6bb15bbe8d04476d8bc11601.tar.bz2
rockbox-3982f1e9322184de6bb15bbe8d04476d8bc11601.zip
Simulator: build recording code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27280 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/hosted')
-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)