Buffered audio frames in an AudioEffectRecordInstance
are lost upon calling AudioServer::_update_bus_effects
#75041
Labels
AudioEffectRecordInstance
are lost upon calling AudioServer::_update_bus_effects
#75041
Godot version
3.x branch at commit 16df341
System information
Arch Linux
Issue description
Buffered audio frames through an
AudioEffectRecordInstance
are lost upon callingAudioServer::_update_bus_effects
, which is called when a new audio effect gets added.This happens because
AudioEffectRecordInstance::instance()
creates a brand new instance instead of using the currently available one.godot/servers/audio/effects/audio_effect_record.cpp
Line 167 in 26a5841
godot/servers/audio_server.cpp
Line 807 in 26a5841
Steps to reproduce
Run the MRP attached below. See the gdscript file within the project for more details.
Minimal reproduction project
audio_record_reset_bug.zip
The text was updated successfully, but these errors were encountered: