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:
parent
cfbf3e252f
commit
3b66990c2e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue