Used with BASS_GetInfo to retrieve information on the current device.
typedef struct { DWORD flags; DWORD hwsize; DWORD hwfree; DWORD freesam; DWORD free3d; DWORD minrate; DWORD maxrate; BOOL eax; DWORD minbuf; DWORD dsver; DWORD latency; DWORD initflags; DWORD speakers; DWORD freq; } BASS_INFO;
flags | The device's DirectSound capabilities... a combination of the following flags.
| ||||||
hwsize | Unused. | ||||||
hwfree | Unused. | ||||||
freesam | Unused. | ||||||
free3d | Unused. | ||||||
minrate | Unused. | ||||||
maxrate | Unused. | ||||||
eax | Unused. | ||||||
minbuf | The minimum buffer length (rounded up to the nearest millisecond) to avoid stuttering playback. This is determined by the BASS_CONFIG_DEV_PERIOD setting. Note stuttering may still occur when this buffer length is used if the buffer is not updated frequently enough. When minimal latency is required, it is generally better to disable buffering via the BASS_ATTRIB_BUFFER option instead. | ||||||
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. | ||||||
latency | The average delay (rounded up to the nearest millisecond) for channel playback to start and be heard. | ||||||
initflags | The flags parameter of the BASS_Init call. This will include any flags that were applied automatically. | ||||||
speakers | The number of available speakers, which can be accessed via the speaker assignment flags. | ||||||
freq | The output rate. |
The flags and dsver members are only used on Windows.