1
0
Fork 0
forked from len0rd/rockbox

Simulator: build recording code

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27280 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-07-04 13:37:52 +00:00
parent bf83ac6240
commit 3982f1e932
8 changed files with 33 additions and 94 deletions

View file

@ -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)
{
return 0;
}
const void * pcm_rec_dma_get_peak_buffer(void)
{
return NULL;
}
void audiohw_set_recvol(int left, int right, int type)
{
(void)left;
(void)right;
(void)type;
}
#endif /* HAVE_RECORDING */
void pcm_play_dma_init(void)