1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-24 13:45:47 +00:00

Fixed an oversight where a channel's pitch or pan could be applied to background music

This commit is contained in:
fgenesis 2012-01-03 04:49:47 +01:00
parent dd05ed18fd
commit ef8d13c3e4

View file

@ -1375,6 +1375,9 @@ bool SoundManager::playMusic(const std::string &name, SoundLoopType slt, SoundFa
checkError();
}
musicChannel->setFrequency(1); // in case the channel was used by a pitch-shifted sound before
musicChannel->setPan(0);
result = musicChannel->setPaused(false); // This is where the sound really starts.
checkError();
}