X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibgame%2Fsound.c;fp=src%2Flibgame%2Fsound.c;h=12b01c382b8f1c50cd62403b9ce65317fa9e8840;hb=c8689f0335cd584d24570046c6eb5a3b75701305;hp=d7ec950435948b44fdb2560c7f26c103ad7904f6;hpb=c425ce2cafa1ca6b07149dbff0919a9f0de8e21c;p=rocksndiamonds.git diff --git a/src/libgame/sound.c b/src/libgame/sound.c index d7ec9504..12b01c38 100644 --- a/src/libgame/sound.c +++ b/src/libgame/sound.c @@ -233,7 +233,7 @@ static void Mixer_PlayMusicChannel(void) Mix_VolumeMusic(mixer[audio.music_channel].volume); Mix_FadeInMusic(mixer[audio.music_channel].data_ptr, loops, 100); -#if defined(PLATFORM_WIN32) +#if defined(PLATFORM_WINDOWS) // playing MIDI music is broken since Windows Vista, as it sets the volume // for MIDI music also for all other sounds and music, which cannot be set // back to normal unless playing MIDI music again with that desired volume @@ -281,7 +281,7 @@ static void Mixer_FadeMusicChannel(void) Mix_FadeOutMusic(SOUND_FADING_INTERVAL); -#if defined(PLATFORM_WIN32) +#if defined(PLATFORM_WINDOWS) // playing MIDI music is broken since Windows Vista, as it sets the volume // for MIDI music also for all other sounds and music, which cannot be set // back to normal unless playing MIDI music again with that desired volume