BASS.NET API for the Un4seen BASS Audio Library

BassWasapiBASS_WASAPI_Start Method

BASS.NET API for the Un4seen BASS Audio Library
Starts processing the current Wasapi device/driver (endpoint).

Namespace:  Un4seen.BassWasapi
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

[DllImportAttribute("basswasapi")]
public static bool BASS_WASAPI_Start()

Return Value

Type: Boolean
If successful, then is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

Before starting the device, it must be initialized using BASS_WASAPI_Init(Int32, Int32, Int32, BASSWASAPIInit, Single, Single, WASAPIPROC, IntPtr). Use BASS_WASAPI_Stop(Boolean) to stop processing the device.

When using multiple devices, the current thread's device setting (as set with BASS_WASAPI_SetDevice(Int32)) determines which device this function call applies to.

ERROR CODEDescription
BASS_ERROR_INITBASS_WASAPI_Init(Int32, Int32, Int32, BASSWASAPIInit, Single, Single, WASAPIPROC, IntPtr) has not been successfully called.
BASS_ERROR_UNKNOWNSome other mystery problem!

See Also

Reference