Merge pull request #59792 from Pineapple/audio-channels-count-change-crash-fix-master
This commit is contained in:
commit
987c98f529
|
@ -1343,6 +1343,7 @@ void AudioServer::init_channels_and_buffers() {
|
||||||
for (int j = 0; j < channel_count; j++) {
|
for (int j = 0; j < channel_count; j++) {
|
||||||
buses.write[i]->channels.write[j].buffer.resize(buffer_size);
|
buses.write[i]->channels.write[j].buffer.resize(buffer_size);
|
||||||
}
|
}
|
||||||
|
_update_bus_effects(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue