music.c
changeset 565 64688955a7b2
parent 561 87bdb4c81c0b
child 597 a4e9c53d9c30
     1.1 --- a/music.c	Sat Jan 14 19:52:34 2012 -0500
     1.2 +++ b/music.c	Sat Jan 14 22:00:29 2012 -0500
     1.3 @@ -1064,11 +1064,10 @@
     1.4  #endif
     1.5  #ifdef MP3_MUSIC
     1.6  	    case MUS_MP3:
     1.7 +		smpeg.SMPEG_rewind(music_playing->data.mp3);
     1.8 +		smpeg.SMPEG_play(music_playing->data.mp3);
     1.9  		if ( position > 0.0 ) {
    1.10  			smpeg.SMPEG_skip(music_playing->data.mp3, (float)position);
    1.11 -		} else {
    1.12 -			smpeg.SMPEG_rewind(music_playing->data.mp3);
    1.13 -			smpeg.SMPEG_play(music_playing->data.mp3);
    1.14  		}
    1.15  		break;
    1.16  #endif