mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 11:33:03 +01:00
fix #1155
This commit is contained in:
@@ -568,7 +568,7 @@ void SDLCALL Mixer::Callback(void* arg, uint8* stream, int length)
|
||||
|
||||
void Mixer::MixChannel(Channel& channel, uint8* data, int length)
|
||||
{
|
||||
if (channel.source && channel.source->Length() > 0 && !channel.done) {
|
||||
if (channel.source && channel.source->Length() > 0 && !channel.done && gConfigSound.sound) {
|
||||
AudioFormat streamformat = channel.source->Format();
|
||||
int loaded = 0;
|
||||
SDL_AudioCVT cvt;
|
||||
|
||||
Reference in New Issue
Block a user