music.c
changeset 419 e27fe0bfe470
parent 415 494bc6858d1f
child 433 01f8ced21da6
     1.1 --- a/music.c	Sat Oct 03 10:53:24 2009 +0000
     1.2 +++ b/music.c	Sat Oct 03 20:43:33 2009 +0000
     1.3 @@ -1199,37 +1199,13 @@
     1.4  
     1.5  int Mix_SetSynchroValue(int i)
     1.6  {
     1.7 -	if ( music_playing && ! music_stopped ) {
     1.8 -		switch (music_playing->type) {
     1.9 -#ifdef MOD_MUSIC
    1.10 -		    case MUS_MOD:
    1.11 -			return MOD_SetSynchroValue(i);
    1.12 -			break;
    1.13 -#endif
    1.14 -		    default:
    1.15 -			return(-1);
    1.16 -			break;
    1.17 -		}
    1.18 -		return(-1);
    1.19 -	}
    1.20 +	/* Not supported by any players at this time */
    1.21  	return(-1);
    1.22  }
    1.23  
    1.24  int Mix_GetSynchroValue(void)
    1.25  {
    1.26 -	if ( music_playing && ! music_stopped ) {
    1.27 -		switch (music_playing->type) {
    1.28 -#ifdef MOD_MUSIC
    1.29 -		    case MUS_MOD:
    1.30 -			return MOD_GetSynchroValue();
    1.31 -			break;
    1.32 -#endif
    1.33 -		    default:
    1.34 -			return(-1);
    1.35 -			break;
    1.36 -		}
    1.37 -		return(-1);
    1.38 -	}
    1.39 +	/* Not supported by any players at this time */
    1.40  	return(-1);
    1.41  }
    1.42