The BASS_INFO type exposes the following members.
| Name | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dsver |
DirectSound version.
9 = DX9/8/7/5 features are available, 8 = DX8/7/5 features are available, 7 = DX7/5 features are available, 5 = DX5 features are available. 0 = none of the DX9/8/7/5 features are available. | |||||||||||||||
| eax |
Reserved (not used anymore).
| |||||||||||||||
| flags |
The device's capabilities. A combination of these flags (BASSInfo):
| |||||||||||||||
| free3d |
Reserved (not used anymore).
| |||||||||||||||
| freesam |
Reserved (not used anymore).
| |||||||||||||||
| freq |
The device's current output sample rate. This is only available on Windows Vista and OSX.
| |||||||||||||||
| hwfree |
Reserved (not used anymore).
| |||||||||||||||
| hwsize |
Reserved (not used anymore).
| |||||||||||||||
| initflags |
The flags parameter of the BASS_Init(Int32, Int32, BASSInit, IntPtr, IntPtr) call (BASSInit).
| |||||||||||||||
| latency | The delay (rounded up to the nearest millisecond) for playback of HSTREAM/HMUSIC channels to start and be heard.
Requires that BASS_DEVICE_LATENCY was used when BASS_Init(Int32, Int32, BASSInit, IntPtr, IntPtr) was called. | |||||||||||||||
| maxrate |
Reserved (not used anymore).
| |||||||||||||||
| minbuf | The minimum buffer length (rounded up to the nearest millisecond) recommended for use with the BASS_CONFIG_BUFFER config option (see BASS_GetConfig(BASSConfig) and BASS_SetConfig(BASSConfig, Int32)).
Requires that BASS_DEVICE_LATENCY was used when BASS_Init(Int32, Int32, BASSInit, IntPtr, IntPtr) was called. | |||||||||||||||
| minrate |
Reserved (not used anymore).
| |||||||||||||||
| speakers | The number of speakers the device/drivers supports... 2 means that there is no support for speaker assignment - this will always be the case with non-WDM drivers in Windows.
It's also possible that it could mistakenly be 2 with some devices/drivers, when the device in fact supports more speakers. In that case the BASS_DEVICE_SPEAKERS or BASS_DEVICE_CPSPEAKERS flag can be used in the BASS_Init(Int32, Int32, BASSInit, IntPtr, IntPtr) call to force the enabling of speaker assignment. |