BASS.NET API for the Un4seen BASS Audio LibraryBassCdBASS_CD_Analog_Stop Method BASS.NET API for the Un4seen BASS Audio Library
Stops analog playback on a drive.

Namespace: Un4seen.Bass.AddOn.Cd
Assembly: Bass.Net (in Bass.Net.dll) Version:

[DllImportAttribute("basscd.dll", CharSet = CharSet.Auto)]
public static bool BASS_CD_Analog_Stop(
	int drive


Type: SystemInt32
The drive... 0 = the first drive.

Return Value

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

Pausing can be achieved by getting the position (BASS_CD_Analog_GetPosition(Int32)) just before stopping, and then using that position in a call to BASS_CD_Analog_Play(Int32, Int32, Int32) to resume.

ERROR CODEDescription
BASS_ERROR_DEVICEdrive is invalid.
BASS_ERROR_UNKNOWNSome other mystery problem!

See Also