BASS.NET API for the Un4seen BASS Audio Library

BassWasapiHandlerSampleRate Property

BASS.NET API for the Un4seen BASS Audio Library
Gets the actual sample rate in Hz which is being used.

Namespace:  Un4seen.BassWasapi
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public double SampleRate { get; }

Property Value

Type: Double
Remarks

Depending if you use the Wasapi device in exclusive or shared mode the actual sample rate might be different from the sample rate requested.

In exclusive mode: The sample rate as specified in the constructor will be used.

In shared mode: The default sample rate as specified in the mixer control panel will always be used.

See Also

Reference