1
0
Fork 0
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:
Jens Arnold 2005-06-20 10:04:16 +00:00
parent ad839aec79
commit 6514435d3b

View file

@ -276,6 +276,13 @@ void init(void)
global_settings.mdb_enable,
global_settings.superbass);
audio_init();
#if (CONFIG_HWCODEC == MASNONE)
pcm_init();
sound_settings_apply();
#endif
#if defined(IRIVER_H100) && !defined(SIMULATOR)
pcm_init_recording();
#endif
talk_init();
#ifdef AUTOROCK
@ -293,12 +300,6 @@ void init(void)
}
#endif /* #ifdef AUTOROCK */
#if (CONFIG_HWCODEC == MASNONE)
pcm_init();
#endif
#if defined(IRIVER_H100) && !defined(SIMULATOR)
pcm_init_recording();
#endif
#ifdef HAVE_CHARGING
car_adapter_mode_init();
#endif