You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Fix AudioServer Crash when bus count equals 0
(cherry picked from commit ccc375f163)
This commit is contained in:
committed by
Rémi Verschelde
parent
cfccf77edb
commit
c5e8a81737
@@ -246,6 +246,7 @@ void AudioServer::_driver_process(int p_frames, int32_t *p_buffer) {
|
|||||||
init_channels_and_buffers();
|
init_channels_and_buffers();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ERR_FAIL_COND_MSG(buses.empty() && todo, "AudioServer bus count is less than 1.");
|
||||||
while (todo) {
|
while (todo) {
|
||||||
|
|
||||||
if (to_mix == 0) {
|
if (to_mix == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user