forked from len0rd/rockbox
Iriver: Properly apply sound settings on startup. Moved some inits to more appropriate places.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6774 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ad839aec79
commit
6514435d3b
1 changed files with 7 additions and 6 deletions
13
apps/main.c
13
apps/main.c
|
|
@ -276,6 +276,13 @@ void init(void)
|
||||||
global_settings.mdb_enable,
|
global_settings.mdb_enable,
|
||||||
global_settings.superbass);
|
global_settings.superbass);
|
||||||
audio_init();
|
audio_init();
|
||||||
|
#if (CONFIG_HWCODEC == MASNONE)
|
||||||
|
pcm_init();
|
||||||
|
sound_settings_apply();
|
||||||
|
#endif
|
||||||
|
#if defined(IRIVER_H100) && !defined(SIMULATOR)
|
||||||
|
pcm_init_recording();
|
||||||
|
#endif
|
||||||
talk_init();
|
talk_init();
|
||||||
|
|
||||||
#ifdef AUTOROCK
|
#ifdef AUTOROCK
|
||||||
|
|
@ -293,12 +300,6 @@ void init(void)
|
||||||
}
|
}
|
||||||
#endif /* #ifdef AUTOROCK */
|
#endif /* #ifdef AUTOROCK */
|
||||||
|
|
||||||
#if (CONFIG_HWCODEC == MASNONE)
|
|
||||||
pcm_init();
|
|
||||||
#endif
|
|
||||||
#if defined(IRIVER_H100) && !defined(SIMULATOR)
|
|
||||||
pcm_init_recording();
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_CHARGING
|
#ifdef HAVE_CHARGING
|
||||||
car_adapter_mode_init();
|
car_adapter_mode_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue