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

@ -44,7 +44,7 @@
#include "thread.h"
#endif
#if (CONFIG_CODEC == SWCODEC)
#if !defined(SIMULATOR) && defined(HAVE_RECORDING)
#ifdef HAVE_RECORDING
#include "pcm_record.h"
#endif
#include "dsp.h"
@ -213,7 +213,7 @@ struct codec_api {
void (*profile_func_exit)(void *this_fn, void *call_site);
#endif
#if defined(HAVE_RECORDING) && !defined(SIMULATOR)
#ifdef HAVE_RECORDING
volatile bool stop_encoder;
volatile int enc_codec_loaded; /* <0=error, 0=pending, >0=ok */
void (*enc_get_inputs)(struct enc_inputs *inputs);