BASS_ASIO_SetWindow

Sets the window handle to pass to ASIO drivers.

void BASS_ASIO_SetWindow(
    HWND win
);

Parameters

winWindow handle.

Remarks

This function sets the window handle that BASS_ASIO_Init will pass to an ASIO driver during initialization, except when the BASS_ASIO_THREAD flag is set (an internal handle is used then). Some drivers may require a valid window handle for BASS_ASIO_ControlPanel to work properly.

The default setting is NULL. Changes take effect from the next BASS_ASIO_Init call.

See also

BASS_ASIO_Init