This commit is contained in:
zsilencer committed 2015-07-14 16:45:25 -06:00
1 parent 689f7c9f1d
commit ca6c3d68aa
7 files changed
+24 -27

No files matched your search

+1 -1
View File
@@ -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;