Merge pull request #48162 from mrushyendra/fix_audioserver_crash

Fix AudioServer Crash when no buses present
This commit is contained in:
Rémi Verschelde 2021-04-26 11:56:20 +02:00 committed by GitHub
commit 2a1a083929
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -246,6 +246,7 @@ void AudioServer::_driver_process(int p_frames, int32_t *p_buffer) {
init_channels_and_buffers();
}
ERR_FAIL_COND_MSG(buses.is_empty() && todo, "AudioServer bus count is less than 1.");
while (todo) {
if (to_mix == 0) {
_mix_step();