web-audio-api-rs
web-audio-api-rs copied to clipboard
ScriptProcessorNode: avoid (de)allocations of input/output AudioBuffer for realtime safety
We should be able to recycle the buffers, because they only move back en forth between render and control thread.
When dropping the node we should be able to send the AudioBuffer pool to the deallocator thread.