mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-15 14:09:06 +00:00
Fixed an oversight where a channel's pitch or pan could be applied to background music
This commit is contained in:
parent
dd05ed18fd
commit
ef8d13c3e4
1 changed files with 3 additions and 0 deletions
|
@ -1375,6 +1375,9 @@ bool SoundManager::playMusic(const std::string &name, SoundLoopType slt, SoundFa
|
||||||
checkError();
|
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.
|
result = musicChannel->setPaused(false); // This is where the sound really starts.
|
||||||
checkError();
|
checkError();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue