summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/codecs.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/codecs.h')
-rw-r--r--lib/rbcodec/codecs/codecs.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/rbcodec/codecs/codecs.h b/lib/rbcodec/codecs/codecs.h
index e04727fea8..6048e5012c 100644
--- a/lib/rbcodec/codecs/codecs.h
+++ b/lib/rbcodec/codecs/codecs.h
@@ -34,14 +34,12 @@
34#include "profile.h" 34#include "profile.h"
35#include "thread.h" 35#include "thread.h"
36#endif 36#endif
37#if (CONFIG_CODEC == SWCODEC)
38#ifdef HAVE_RECORDING 37#ifdef HAVE_RECORDING
39#include "enc_base.h" 38#include "enc_base.h"
40#endif 39#endif
41#include "dsp_core.h" 40#include "dsp_core.h"
42#include "dsp_misc.h" 41#include "dsp_misc.h"
43#include "dsp-util.h" 42#include "dsp-util.h"
44#endif
45 43
46#include "gcc_extensions.h" 44#include "gcc_extensions.h"
47#include "load_code.h" 45#include "load_code.h"
@@ -281,18 +279,18 @@ int codec_load_buf(int hid, struct codec_api *api);
281int codec_load_file(const char* codec, struct codec_api *api); 279int codec_load_file(const char* codec, struct codec_api *api);
282int codec_run_proc(void); 280int codec_run_proc(void);
283int codec_close(void); 281int codec_close(void);
284#if CONFIG_CODEC == SWCODEC && defined(HAVE_RECORDING) 282#if defined(HAVE_RECORDING)
285enc_callback_t codec_get_enc_callback(void); 283enc_callback_t codec_get_enc_callback(void);
286#else
287#define codec_get_enc_callback() NULL
288#endif 284#endif
289 285
290/* defined by the codec */ 286/* defined by the codec */
291enum codec_status codec_start(enum codec_entry_call_reason reason); 287enum codec_status codec_start(enum codec_entry_call_reason reason);
292enum codec_status codec_main(enum codec_entry_call_reason reason); 288enum codec_status codec_main(enum codec_entry_call_reason reason);
293enum codec_status codec_run(void); 289enum codec_status codec_run(void);
294#if CONFIG_CODEC == SWCODEC && defined(HAVE_RECORDING) 290#if defined(HAVE_RECORDING)
295int enc_callback(enum enc_callback_reason reason, void *params); 291int enc_callback(enum enc_callback_reason reason, void *params);
292#else
293#define codec_get_enc_callback() NULL
296#endif 294#endif
297 295
298#endif /* _CODECS_H_ */ 296#endif /* _CODECS_H_ */