Fix simulator and iriver builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6464 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
03d08ecc25
commit
6b16d0e817
2 changed files with 7 additions and 0 deletions
|
@ -414,8 +414,10 @@ static void fade(bool fade_in)
|
|||
sound_set(SOUND_VOLUME, fp_volume >> 8);
|
||||
}
|
||||
audio_pause();
|
||||
#ifndef SIMULATOR
|
||||
/* let audio thread run and wait for the mas to run out of data */
|
||||
while (!mp3_pause_done())
|
||||
#endif
|
||||
sleep(HZ/10);
|
||||
|
||||
/* reset volume to what it was before the fade */
|
||||
|
|
|
@ -653,6 +653,11 @@ void mp3_play_pause(bool play)
|
|||
(void)play;
|
||||
}
|
||||
|
||||
bool mp3_pause_done(void)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
unsigned char* mp3_get_pos(void)
|
||||
{
|
||||
/* a dummy */
|
||||
|
|
Loading…
Reference in a new issue