BASS_WASAPI_INFO structure


Used with BASS_WASAPI_GetInfo to retrieve information on the current device.

typedef struct {
    DWORD initflags;
    DWORD freq;
    DWORD chans;
    DWORD format;
    DWORD buflen;
    DWORD volmax;
    DWORD volmin;
    DWORD volstep;
} BASS_WASAPI_INFO;

Members

initflagsThe flags parameter of the BASS_WASAPI_Init call.
freqThe sample rate.
chansThe number of channels... 1 = mono, 2 = stereo, etc.
formatThe device's sample format. One of the following.
BASS_WASAPI_FORMAT_8BIT8-bit integer.
BASS_WASAPI_FORMAT_16BIT16-bit integer.
BASS_WASAPI_FORMAT_24BIT24-bit integer.
BASS_WASAPI_FORMAT_32BIT32-bit integer.
BASS_WASAPI_FORMAT_FLOAT32-bit floating-point.
buflenThe buffer size in bytes.
volmaxThe maximum volume setting in dB.
volminThe minimum volume setting in dB.
volstepThe volume step size in dB.

Remarks

format indicates the device's sample format, which is not necessarily the same as what a WASAPIPROC callback function or the BASS_WASAPI_PutData and BASS_WASAPI_GetData functions deal in; that is always 32-bit floating-point.

volmin and volmax indicate the valid device volume range for BASS_WASAPI_SetVolume and BASS_WASAPI_GetVolume when using the logarithmic curve.

See also

BASS_WASAPI_GetInfo