summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/main.c b/apps/main.c
index 55897de5f5..6373920c74 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -61,7 +61,7 @@
61#include "misc.h" 61#include "misc.h"
62#include "database.h" 62#include "database.h"
63 63
64#if (CONFIG_HWCODEC == MASNONE) 64#if (CONFIG_CODEC == SWCODEC)
65#include "pcmbuf.h" 65#include "pcmbuf.h"
66#else 66#else
67#define pcmbuf_init() 67#define pcmbuf_init()
@@ -129,7 +129,7 @@ void init(void)
129 global_settings.mdb_enable, 129 global_settings.mdb_enable,
130 global_settings.superbass); 130 global_settings.superbass);
131 button_clear_queue(); /* Empty the keyboard buffer */ 131 button_clear_queue(); /* Empty the keyboard buffer */
132#if CONFIG_HWCODEC == MASNONE 132#if CONFIG_CODEC == SWCODEC
133 talk_init(); 133 talk_init();
134#endif 134#endif
135} 135}
@@ -264,7 +264,7 @@ void init(void)
264 264
265 /* On software codec platforms we have to init audio before 265 /* On software codec platforms we have to init audio before
266 calling audio_set_buffer_margin(). */ 266 calling audio_set_buffer_margin(). */
267#if (CONFIG_HWCODEC == MASNONE) 267#if (CONFIG_CODEC == SWCODEC)
268 audio_init(); 268 audio_init();
269#endif 269#endif
270 settings_calc_config_sector(); 270 settings_calc_config_sector();
@@ -291,7 +291,7 @@ void init(void)
291 global_settings.mdb_shape, 291 global_settings.mdb_shape,
292 global_settings.mdb_enable, 292 global_settings.mdb_enable,
293 global_settings.superbass); 293 global_settings.superbass);
294#if (CONFIG_HWCODEC == MASNONE) 294#if (CONFIG_CODEC == SWCODEC)
295 sound_settings_apply(); 295 sound_settings_apply();
296#else 296#else
297 audio_init(); 297 audio_init();