Used with BASS_GetInfo to retrieve information on the current device.
typedef struct { |
Members
size | This must be initialized to the size of the structure before calling BASS_GetInfo. | ||||||||||||||
flags | The device's capabilities... a combination of these flags.
| ||||||||||||||
hwsize | The device's total amount of hardware memory. | ||||||||||||||
hwfree | The device's amount of free hardware memory. | ||||||||||||||
freesam | The number of free sample slots in the hardware. | ||||||||||||||
free3d | The number of free 3D sample slots in the hardware. | ||||||||||||||
minrate | The minimum sample rate supported by the hardware. | ||||||||||||||
maxrate | The maximum sample rate supported by the hardware. | ||||||||||||||
eax | The device supports EAX? This is always FALSE if BASS_DEVICE_3D was not used when BASS_Init was called. | ||||||||||||||
a3d | A3D driver version... 10 = A3D 1.0, 12 = A3D 1.2 or above, 0 = BASS_DEVICE_A3D was not used when BASS_Init was called. | ||||||||||||||
dsver | DirectSound version... 5+ = DX5 features are available, 7+ = DX7 features are available. |
Remarks
The DSCAPS_SECONDARY flags only indicate which sample formats are supported by hardware mixing. Mono/stereo 8/16 bit samples are all supported by software mixing.
The dsver value can be used check for the availability of functions that require a minimum version of DirectX. Note that this value is the DirectSound version, and it is not necessarily also the DirectX version. For example, DirectX 6 has DirectSound version 5 because no changes were made to the DirectSound interface in DirectX 6.
The only real difference between A3D 1.0 and A3D 1.2, from a functionality point of view, is the A3D_RESMODE_DYNAMIC_LOOPERS resource management mode. But there are also bug-fixes in A3D 1.2, so even if you do not use this resource management mode, you should still recommend that the user gets updated drivers if they have A3D 1.0 drivers.
See also
BASS_GetInfo