1
0
Fork 0
forked from len0rd/rockbox

Enable crossfade for simulator.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7151 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2005-07-15 07:15:39 +00:00
parent 006f7045be
commit 05012ac9f7
3 changed files with 6 additions and 4 deletions

View file

@ -845,7 +845,7 @@ void settings_apply(void)
talk_init(); /* use voice of same language */
}
#if CONFIG_HWCODEC == MASNONE && !defined(SIMULATOR)
#if CONFIG_HWCODEC == MASNONE
pcmbuf_crossfade_enable(global_settings.crossfade);
#endif

View file

@ -1107,9 +1107,8 @@ static bool id3_order(void)
static bool crossfade(void)
{
bool rc = set_bool( str(LANG_CROSSFADE), &global_settings.crossfade );
#ifndef SIMULATOR
pcmbuf_crossfade_enable(global_settings.crossfade);
#endif
return rc;
}
#endif