Struct RecordInfo
Used with RecordGetInfo(out RecordInfo) to retrieve information on the current recording device.
Namespace: System.Dynamic.ExpandoObject
Assembly: ManagedBass.dll
Syntax
public struct RecordInfo
Remarks
The SupportedFormats member does not represent all the formats supported by the device, just the "standard" ones.
If there is no DirectSound driver for the device (ie. it's being emulated), then the driver member will contain something like "WaveIn" instead of a filename.
Platform-specific
The IsCertified and SupportsDirectSound members are only used on Windows. The SupportedFormats member is only used on Windows/OSX/iOS, and only for the device's channel count in the case of OSX and iOS. On Windows, it does not necessarily represent all of the formats supported by the device, just the "standard" ones. Frequency is also only available on Windows/OSX/iOS, but not on Windows prior to Vista.
Properties
Channels
Gets the available channel count for a recording Input.
Declaration
public int Channels { get; }
Property Value
Int32
|
Frequency
The device's current Input sample rate. This is only available on Windows Vista and OSX.
Declaration
public int Frequency { get; }
Property Value
Int32
|
Inputs
The number of Input sources available to the device
Declaration
public int Inputs { get; }
Property Value
Int32
|
IsCertified
The device driver has been certified by Microsoft. Always true for WDM drivers.
Declaration
public bool IsCertified { get; }
Property Value
Boolean
|
SingleInput
true = only one Input may be active at a time
Declaration
public bool SingleInput { get; }
Property Value
Boolean
|
SupportedFormats
The standard wave formats supported by the device (default is WF4S16).
Declaration
public RecordFormatFlags SupportedFormats { get; }
Property Value
RecordFormatFlags
|
SupportsDirectSound
The device's drivers has DirectSound support
Declaration
public bool SupportsDirectSound { get; }
Property Value
Boolean
|