Merge pull request #59792 from Pineapple/audio-channels-count-change-crash-fix-master

This commit is contained in:
Rémi Verschelde 2022-04-01 16:40:10 +02:00 committed by GitHub
commit 987c98f529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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);
} }
} }