Table of Contents

Delegate AsioProcessCallback

Namespace
NAudio.Wave
Assembly
NAudio.Asio.dll

User-supplied processing callback for InitDuplex(AsioDuplexOptions). Called once per ASIO buffer-switch with a stack-only view of input and output channels.

public delegate void AsioProcessCallback(in AsioProcessBuffers buffers)

Parameters

buffers AsioProcessBuffers

Per-channel input and output buffers for this buffer switch. Valid only for the duration of the call.

Remarks

The callback runs on the ASIO driver's real-time thread. It must not call Stop(), Dispose(), or Reinitialize(), must not allocate or perform blocking I/O, and must return promptly — the time budget is the ASIO buffer duration (often under 10ms).