BASS.NET API for the Un4seen BASS Audio LibraryBASS_RECORDINFO ClassBASS.NET API for the Un4seen BASS Audio Library
Used with BASS_RecordGetInfo(BASS_RECORDINFO) to retrieve information on the current recording device.
Inheritance Hierarchy

SystemObject
  Un4seen.BassBASS_RECORDINFO

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

[SerializableAttribute]
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public sealed class BASS_RECORDINFO

The BASS_RECORDINFO type exposes the following members.

Constructors

  NameDescription
Public methodBASS_RECORDINFO
Default constructor.
Top
Properties

  NameDescription
Public propertyChannels
Gets the available channel count for a recording input.
Public propertyIsCertified
The device driver has been certified by Microsoft. Always true for WDM drivers.
Public propertySupportsDirectSound
The device's drivers has DirectSound support
Public propertyWaveFormat
The standard wave formats supported by the device (default is WAVE_FORMAT_4S16). A combination of these flags (see BASSRecordFormat):
WAVE_FORMAT_1M0811025hz, Mono, 8-bit
WAVE_FORMAT_1S0811025hz, Stereo, 8-bit
WAVE_FORMAT_1M1611025hz, Mono, 16-bit
WAVE_FORMAT_1S1611025hz, Stereo, 16-bit
WAVE_FORMAT_2M0822050hz, Mono, 8-bit
WAVE_FORMAT_2S0822050hz, Stereo, 8-bit
WAVE_FORMAT_2M1622050hz, Mono, 16-bit
WAVE_FORMAT_2S1622050hz, Stereo, 16-bit
WAVE_FORMAT_4M0844100hz, Mono, 8-bit
WAVE_FORMAT_4S0844100hz, Stereo, 8-bit
WAVE_FORMAT_4M1644100hz, Mono, 16-bit
WAVE_FORMAT_4S1644100hz, Stereo, 16-bit
Top
Methods

  NameDescription
Public methodToString
A description of the record decive info object (inputs, singlein).
(Overrides ObjectToString.)
Top
Fields

  NameDescription
Public fieldflags
The device's capabilities BASSRecordInfo. A combination of these flags (see BASSRecordInfo):
DSCCAPS_EMULDRIVERThe device's drivers do NOT have DirectSound recording support, so it is being emulated.
DSCCAPS_CERTIFIEDThe device driver has been certified by Microsoft.
Public fieldformats
The standard formats supported by the device (default is WAVE_FORMAT_4S16). A combination of these flags (see BASSRecordFormat):
WAVE_FORMAT_1M0811025hz, Mono, 8-bit
WAVE_FORMAT_1S0811025hz, Stereo, 8-bit
WAVE_FORMAT_1M1611025hz, Mono, 16-bit
WAVE_FORMAT_1S1611025hz, Stereo, 16-bit
WAVE_FORMAT_2M0822050hz, Mono, 8-bit
WAVE_FORMAT_2S0822050hz, Stereo, 8-bit
WAVE_FORMAT_2M1622050hz, Mono, 16-bit
WAVE_FORMAT_2S1622050hz, Stereo, 16-bit
WAVE_FORMAT_4M0844100hz, Mono, 8-bit
WAVE_FORMAT_4S0844100hz, Stereo, 8-bit
WAVE_FORMAT_4M1644100hz, Mono, 16-bit
WAVE_FORMAT_4S1644100hz, Stereo, 16-bit
The number of channels supported by the device is in the high 8 bits.
Public fieldfreq
The device's current input sample rate. This is only available on Windows Vista and OSX.
Public fieldinputs
The number of input sources available to the device
Public fieldsinglein
= only one input may be active at a time
Top
Remarks

The formats 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 flags member is only used on Windows. The formats 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. freq is also only available on Windows/OSX/iOS, but not on Windows prior to Vista.

See Also

Reference