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 | The device supports EAX and has it enabled?
The device's "Hardware acceleration" needs to be set to "Full" in it's "Advanced Properties" setup, else EAX is disabled. This is always if BASS_DEVICE_3D was not used when BASS_Init(Int32, Int32, BASSInit, IntPtr, IntPtr) was called. | |||||||||||||||
flags |
The device's capabilities. A combination of these flags (BASSInfo):
| |||||||||||||||
free3d |
The number of free 3D sample slots in the hardware.
| |||||||||||||||
freesam |
The number of free sample slots in the hardware.
| |||||||||||||||
freq |
The device's current output sample rate. This is only available on Windows Vista and OSX.
| |||||||||||||||
hwfree |
The device's amount of free hardware memory.
| |||||||||||||||
hwsize |
The device's total amount of hardware memory.
| |||||||||||||||
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 |
The maximum sample rate supported by the hardware.
| |||||||||||||||
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 |
The minimum sample rate supported by the hardware.
| |||||||||||||||
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. |