music_ogg.c
changeset 726 298d69a81cc9
parent 725 bdf7b8d20566
child 777 92882ef2ab81
     1.1 --- a/music_ogg.c	Sun Jan 01 18:50:09 2017 -0800
     1.2 +++ b/music_ogg.c	Fri Jan 20 02:23:51 2017 -0500
     1.3 @@ -179,8 +179,7 @@
     1.4          if ( music->volume == MIX_MAX_VOLUME ) {
     1.5              SDL_memcpy(snd, music->snd_available, mixable);
     1.6          } else {
     1.7 -            SDL_MixAudio(snd, music->snd_available, mixable,
     1.8 -                                          music->volume);
     1.9 +            SDL_MixAudioFormat(snd, music->snd_available, mixer.format, mixable, music->volume);
    1.10          }
    1.11          music->len_available -= mixable;
    1.12          music->snd_available += mixable;