Show / Hide Table of Contents

Struct WasapiInfo

Used with GetInfo(out WasapiInfo) to retrieve information on the current device.

Namespace: System.Dynamic.ExpandoObject
Assembly: ManagedBass.Wasapi.dll
Syntax
public struct WasapiInfo

Properties

BufferLength

The buffer size in bytes.

Declaration
public int BufferLength { get; }
Property Value
Int32

Channels

The number of channels used (1 = mono, 2 = stereo, etc.).

Declaration
public int Channels { get; }
Property Value
Int32

Format

The device's sample format used.

Declaration
public WasapiFormat Format { get; }
Property Value
WasapiFormat

Frequency

The sample rate used.

Declaration
public int Frequency { get; }
Property Value
Int32

InitFlags

The flags parameter of the Init(Int32, Int32, Int32, WasapiInitFlags, Single, Single, WasapiProcedure, IntPtr) call.

Declaration
public WasapiInitFlags InitFlags { get; }
Property Value
WasapiInitFlags

IsEventDriven

Is the device used in event-driven mode?

Declaration
public bool IsEventDriven { get; }
Property Value
Boolean

IsExclusive

Is the device used in exclusive mode?

Declaration
public bool IsExclusive { get; }
Property Value
Boolean

MaxVolume

The maximum volume setting in dB.

Declaration
public float MaxVolume { get; }
Property Value
Single

MinVolume

The minimum volume setting in dB.

Declaration
public float MinVolume { get; }
Property Value
Single

VolumeStep

The volume step size in dB.

Declaration
public float VolumeStep { get; }
Property Value
Single

Back to top Copyright © 2017 Mathew Sachin
Generated by DocFx