RuntimeAudioImporter
RuntimeAudioImporter copied to clipboard
Toggling mute without hitching in UE5.3
Hi! Thank you for such an awesome plugin.
I want to implement push-to-talk functionality and so want to frequently mute and unmute a recording.
I initially used Start Capture
and Stop Capture
, but that caused hitching as described in https://github.com/gtreshchev/RuntimeSpeechRecognizer/wiki/6.-Minimizing-freezes#capturable-sound-wave.
Following that, I tried using Toggle Mute
to improve performance, but the hitching persists. Looking at the source, it looks like for UE5.3, this is aliased back to Start/Stop Capture:
https://github.com/gtreshchev/RuntimeAudioImporter/blob/main/Source/RuntimeAudioImporter/Private/Sound/CapturableSoundWave.cpp#L172-L184
Is there any recommended way to do this for UE5.3+?