BASS_ASIO_SetUnicode


Sets the character set used in device information text.

BOOL BASS_ASIO_SetUnicode(
    BOOL unicode
);

Parameters

unicodeUse Unicode? If FALSE, ANSI is used, else UTF-16 is used.

Return value

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

Error codes

BASS_ERROR_NOTAVAILThis function is only available before any devices have been enumerated.

Remarks

This function determines the character set that is used in the BASS_ASIO_DEVICEINFO structure and in BASS_ASIO_AddDevice function calls. It does not affect text in the BASS_ASIO_INFO or BASS_ASIO_CHANNELINFO structure.

The character set choice is finalised in the first BASS_ASIO_GetDeviceInfo, BASS_ASIO_AddDevice or BASS_ASIO_Init call, and it cannot be changed after that. The default is to use ANSI.

See also

BASS_ASIO_GetDeviceInfo