Skip to content
Permalink
Browse files
*** empty log message ***
  • Loading branch information
slouken committed May 19, 2002
1 parent f92699d commit 4ecf81f3e83998dc5e2238e0915f745744fb6145

File 1 of 1 in 4ecf81f

@@ -648,6 +648,7 @@ static int music_internal_play(Mix_Music *music, double position)
case MUS_MP3:
SMPEG_enableaudio(music->data.mp3,1);
SMPEG_enablevideo(music->data.mp3,0);
SMPEG_rewind(music_playing->data.mp3);
SMPEG_play(music->data.mp3);
break;
#endif
@@ -736,9 +737,7 @@ int music_internal_position(double position)
#endif
#ifdef MP3_MUSIC
case MUS_MP3:
if ( position == 0.0 ) {
SMPEG_rewind(music_playing->data.mp3);
} else {
if ( position > 0.0 ) {
SMPEG_skip(music_playing->data.mp3, position);
}
break;

0 comments on commit 4ecf81f

Please sign in to comment.