1
0
Fork 0
forked from len0rd/rockbox

same treatment like for video plugin: mp3_play_init() removed

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4313 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jörg Hohensohn 2004-02-21 22:30:07 +00:00
parent e7a48977bf
commit 34455abfe6

View file

@ -555,9 +555,7 @@ bool chip8_run(char* file)
is_playing = rb->mp3_is_playing(); /* would we disturb playback? */ is_playing = rb->mp3_is_playing(); /* would we disturb playback? */
if (!is_playing) /* no? then we can make sound */ if (!is_playing) /* no? then we can make sound */
{ /* prepare */ { /* prepare */
rb->mp3_play_init();
rb->mp3_play_data(beep, sizeof(beep), callback); rb->mp3_play_data(beep, sizeof(beep), callback);
rb->mpeg_sound_set(SOUND_VOLUME, rb->global_settings->volume);
} }
chip8_reset(); chip8_reset();