BASS_ASIO_GetInfo

Retrieves information on the device being used.

BOOL BASS_ASIO_GetInfo(
    BASS_ASIO_INFO *info
);

Parameters

infoPointer to store the information at.

Return value

If successful, TRUE is returned, else FALSE is returned. Use BASS_ASIO_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_INITBASS_ASIO_Init has not been successfully called.

Example

Display the number of inputs and outputs.
BASS_ASIO_INFO info;
BASS_ASIO_GetInfo(&info);
printf("inputs = %d\n", info.inputs);
printf("outputs = %d\n", info.outputs);

See also

BASS_ASIO_ChannelGetInfo, BASS_ASIO_GetLatency, BASS_ASIO_GetRate, BASS_ASIO_INFO structure