BASS.NET API for the Un4seen BASS Audio LibraryBASS_DEVICEINFO MembersBASS.NET API for the Un4seen BASS Audio Library

The BASS_DEVICEINFO type exposes the following members.
Constructors

  NameDescription
Public methodBASS_DEVICEINFO
Default constructor.
Back to Top
Methods

  NameDescription
Public methodToString
A description of the decive info object (name).
(Overrides OnlineObject ToString .)
Back to Top
Fields

  NameDescription
Public fielddriver
The filename of the driver being used...   = no driver (ie. "no sound" device).

On systems that can use both VxD and WDM drivers (Windows Me/98SE), this will reveal which type of driver is being used.

Further information can be obtained from the file using the GetFileVersionInfo Win32 API function.

Public fieldflags
The device's current status. A combination of these flags (BASSDeviceInfo):
BASS_DEVICE_ENABLEDThe device is enabled. It will not be possible to initialize the device if this flag is not present.
BASS_DEVICE_DEFAULTThe device is the system default.
BASS_DEVICE_INITThe device is initialized, ie. BASS_Init(Int32, Int32, BASSInit, IntPtr) or BASS_RecordInit(Int32) has been called.
The type of device may also be indicated in the high 8 bits (use BASS_DEVICE_TYPE_MASK to test), and can be one of the following:
BASS_DEVICE_TYPE_DIGITALAn audio endpoint device that connects to an audio adapter through a connector for a digital interface of unknown type.
BASS_DEVICE_TYPE_DISPLAYPORTAn audio endpoint device that connects to an audio adapter through a DisplayPort connector.
BASS_DEVICE_TYPE_HANDSETThe part of a telephone that is held in the hand and that contains a speaker and a microphone for two-way communication.
BASS_DEVICE_TYPE_HDMIAn audio endpoint device that connects to an audio adapter through a High-Definition Multimedia Interface (HDMI) connector.
BASS_DEVICE_TYPE_HEADPHONESA set of headphones.
BASS_DEVICE_TYPE_HEADSETAn earphone or a pair of earphones with an attached mouthpiece for two-way communication.
BASS_DEVICE_TYPE_LINEAn audio endpoint device that sends a line-level analog signal to a line-input jack on an audio adapter or that receives a line-level analog signal from a line-output jack on the adapter.
BASS_DEVICE_TYPE_MICROPHONEA microphone.
BASS_DEVICE_TYPE_NETWORKAn audio endpoint device that the user accesses remotely through a network.
BASS_DEVICE_TYPE_SPDIFAn audio endpoint device that connects to an audio adapter through a Sony/Philips Digital Interface (S/PDIF) connector.
BASS_DEVICE_TYPE_SPEAKERSA set of speakers.
Public fieldid
The driver id resp. interface name being used...   = no id (ie. interface name is not available).

Only available on Vista/Win7 systems.

Public fieldname
The description of the device.
Back to Top
Properties

  NameDescription
Public propertyIsDefault
The device is the system default device.
Public propertyIsEnabled
The device is enabled and can be used.
Public propertyIsInitialized
The device is already initialized.
Public propertystatus
The device's current status. A combination of these flags (BASSDeviceInfo):
BASS_DEVICE_ENABLEDThe device is enabled. It will not be possible to initialize the device if this flag is not present.
BASS_DEVICE_DEFAULTThe device is the system default.
BASS_DEVICE_INITThe device is initialized, ie. BASS_Init(Int32, Int32, BASSInit, IntPtr) or BASS_RecordInit(Int32) has been called.
Public propertytype
The type of device:
BASS_DEVICE_TYPE_DIGITALAn audio endpoint device that connects to an audio adapter through a connector for a digital interface of unknown type.
BASS_DEVICE_TYPE_DISPLAYPORTAn audio endpoint device that connects to an audio adapter through a DisplayPort connector.
BASS_DEVICE_TYPE_HANDSETThe part of a telephone that is held in the hand and that contains a speaker and a microphone for two-way communication.
BASS_DEVICE_TYPE_HDMIAn audio endpoint device that connects to an audio adapter through a High-Definition Multimedia Interface (HDMI) connector.
BASS_DEVICE_TYPE_HEADPHONESA set of headphones.
BASS_DEVICE_TYPE_HEADSETAn earphone or a pair of earphones with an attached mouthpiece for two-way communication.
BASS_DEVICE_TYPE_LINEAn audio endpoint device that sends a line-level analog signal to a line-input jack on an audio adapter or that receives a line-level analog signal from a line-output jack on the adapter.
BASS_DEVICE_TYPE_MICROPHONEA microphone.
BASS_DEVICE_TYPE_NETWORKAn audio endpoint device that the user accesses remotely through a network.
BASS_DEVICE_TYPE_SPDIFAn audio endpoint device that connects to an audio adapter through a Sony/Philips Digital Interface (S/PDIF) connector.
BASS_DEVICE_TYPE_SPEAKERSA set of speakers.
Back to Top
See Also