Used with BASS_WASAPI_GetDeviceInfo to retrieve information on a device.
typedef struct {
char *name;
char *id;
DWORD type;
DWORD flags;
float minperiod;
float defperiod;
DWORD mixfreq;
DWORD mixchans;
} BASS_WASAPI_DEVICEINFO;
| name | Description of the device. | ||||||||||||||||||||||
| id | The device's ID. | ||||||||||||||||||||||
| type | The type of device, which may be one of the following.
| ||||||||||||||||||||||
| flags | The device's current and input/output status... a combination of these flags.
| ||||||||||||||||||||||
| minperiod | The minimum update period in seconds. | ||||||||||||||||||||||
| defperiod | The default update period in seconds. | ||||||||||||||||||||||
| mixfreq | The sample rate in shared mode. | ||||||||||||||||||||||
| mixchans | The number of channels in shared mode. |
Depending on the BASS_CONFIG_UNICODE config setting, name and id can be in ANSI or UTF-8 form. minperiod, defperiod, mixfreq, mixchans will all be 0 when the device is not enabled (BASS_DEVICE_ENABLED flag not present).
The corresponding BASS device can be found by its BASS_DEVICEINFO "driver" member matching id.