Table of Contents

Class AsioRecordingOptions

Namespace
NAudio.Wave
Assembly
NAudio.Asio.dll

Options for configuring an AsioDevice in recording-only mode via InitRecording(AsioRecordingOptions).

public sealed class AsioRecordingOptions
Inheritance
AsioRecordingOptions
Inherited Members

Properties

BufferSize

Requested ASIO buffer size in frames. If null, uses the driver's preferred buffer size.

public int? BufferSize { get; init; }

Property Value

int?

InputChannels

Physical input channel indices to record from. Required. Entries may be non-contiguous (e.g., [0, 3, 5]). The callback receives them in the order listed: GetChannel(int) with index 0 returns samples from InputChannels[0], etc.

public int[] InputChannels { get; init; }

Property Value

int[]

SampleRate

Desired sample rate in Hz. If null, uses the driver's current sample rate (CurrentSampleRate).

public int? SampleRate { get; init; }

Property Value

int?