summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c
index bd1dd7b03c..838a4859d2 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -66,6 +66,7 @@
66#include "string.h" 66#include "string.h"
67#include "splash.h" 67#include "splash.h"
68#include "eeprom_settings.h" 68#include "eeprom_settings.h"
69#include "scrobbler.h"
69 70
70#if (CONFIG_CODEC == SWCODEC) 71#if (CONFIG_CODEC == SWCODEC)
71#include "playback.h" 72#include "playback.h"
@@ -252,6 +253,8 @@ void init(void)
252 audio_preinit(); 253 audio_preinit();
253#endif 254#endif
254 255
256 scrobbler_init();
257
255 /* audio_init must to know the size of voice buffer so init voice first */ 258 /* audio_init must to know the size of voice buffer so init voice first */
256#if CONFIG_CODEC == SWCODEC 259#if CONFIG_CODEC == SWCODEC
257 talk_init(); 260 talk_init();
@@ -455,7 +458,8 @@ void init(void)
455 status_init(); 458 status_init();
456 playlist_init(); 459 playlist_init();
457 tree_init(); 460 tree_init();
458 461 scrobbler_init();
462
459 /* No buffer allocation (see buffer.c) may take place after the call to 463 /* No buffer allocation (see buffer.c) may take place after the call to
460 audio_init() since the mpeg thread takes the rest of the buffer space */ 464 audio_init() since the mpeg thread takes the rest of the buffer space */
461 mp3_init( global_settings.volume, 465 mp3_init( global_settings.volume,