mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-13 07:02:31 -05:00
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);
|
sound_set(SOUND_VOLUME, fp_volume >> 8);
|
||||||
}
|
}
|
||||||
audio_pause();
|
audio_pause();
|
||||||
|
#ifndef SIMULATOR
|
||||||
/* let audio thread run and wait for the mas to run out of data */
|
/* let audio thread run and wait for the mas to run out of data */
|
||||||
while (!mp3_pause_done())
|
while (!mp3_pause_done())
|
||||||
|
#endif
|
||||||
sleep(HZ/10);
|
sleep(HZ/10);
|
||||||
|
|
||||||
/* reset volume to what it was before the fade */
|
/* reset volume to what it was before the fade */
|
||||||
|
|
|
||||||
|
|
@ -653,6 +653,11 @@ void mp3_play_pause(bool play)
|
||||||
(void)play;
|
(void)play;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool mp3_pause_done(void)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
unsigned char* mp3_get_pos(void)
|
unsigned char* mp3_get_pos(void)
|
||||||
{
|
{
|
||||||
/* a dummy */
|
/* a dummy */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue