Starts the device.
BOOL BASS_ASIO_Start( DWORD buflen, DWORD threads );
buflen | Buffer length in samples... 0 = use current length. |
threads | The maximum number of processing threads to use... 0 = use current number. |
BASS_ERROR_INIT | BASS_ASIO_Init has not been successfully called. |
BASS_ERROR_ALREADY | The device has already been started. |
BASS_ERROR_NOCHAN | No channels have been enabled. |
BASS_ERROR_UNKNOWN | Some other mystery problem! |
The default number of processing threads is 1, which means that the enabled channels' ASIOPROC functions get called in series (starting with the lowest input channel). Multiple channels can be processed in parallel if multiple threads are created for that purpose via the threads parameter. All input channels will be processed before any output channels are, so that full duplex is unaffected. The number of threads is automatically capped at the number required to process all enabled channels simultaneously.