Consume interleaved 16-bit PCM; the view is valid until the callback settles. Return false to stop recording.
samplesOptionalonInitialize before capture starts; return false to reject startup.
OptionalonPerform cleanup after capture stops and the queue drains.
Recording callbacks executed in a Node Worker.