forked from rosebudai/OpenRCT2-Web
fix #1155
This commit is contained in:
1 parent
689f7c9f1d
commit
ca6c3d68aa
7 files changed
+24
-27
No files matched your search
+1
-1
@@ -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