hopefully no loud sound at beginning of fade in. Brian King suggestion

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3336 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Eric Linenberg 2003-02-25 16:22:10 +00:00
parent cfbf3e252f
commit 3b66990c2e

View file

@ -694,7 +694,7 @@ static void fade(bool fade_in)
mpeg_sound_set(SOUND_VOLUME, current_volume);
}
mpeg_pause();
sleep(HZ/10); /* let mpeg thread run */
sleep(HZ/5); /* let mpeg thread run */
/* reset volume to what it was before the fade */
mpeg_sound_set(SOUND_VOLUME, global_settings.volume);