use ring buffer to avoid memory leak

This commit is contained in:
Nick Payne
2025-07-10 13:43:44 +01:00
parent 80d7555b60
commit 1b537eb395
4 changed files with 64 additions and 19 deletions
+1
View File
@@ -75,6 +75,7 @@ public class AudioRecorder {
}
// FIXME: note to self, what about installTap? Would require audio engine and a node?
// No; AudioEngine.installTap() can only fire as often as 100ms. too slow for us
private func setupAndStartIOProc() {
Logger.debug("Creating IO proc")
var status = AudioDeviceCreateIOProcID(