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: 2.4.12.0
Syntax

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

Parameters

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.
Remarks

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

Reference