BASS.NET API for the Un4seen BASS Audio LibraryBassCd MembersBASS.NET API for the Un4seen BASS Audio Library

The BassCd type exposes the following members.
Methods

  NameDescription
Public methodStatic memberBASS_CD_Analog_GetPosition(Int32)
Retrieves the current position and track on a drive.
Public methodStatic memberBASS_CD_Analog_GetPosition(Int32, Int32 )
Retrieves the current position on a drive in seconds.
Public methodStatic memberBASS_CD_Analog_IsActive
Checks if analog playback is in progress on a drive.
Public methodStatic memberBASS_CD_Analog_Play(Int32, Int32, Double)
Starts analog playback of an audio CD track.
Public methodStatic memberBASS_CD_Analog_Play(Int32, Int32, Int32)
Starts analog playback of an audio CD track.
Public methodStatic memberBASS_CD_Analog_PlayFile(String, Double)
Starts analog playback of an audio CD track, using a CDA file on the CD.
Public methodStatic memberBASS_CD_Analog_PlayFile(String, Int32)
Starts analog playback of an audio CD track, using a CDA file on the CD.
Public methodStatic memberBASS_CD_Analog_Stop
Stops analog playback on a drive.
Public methodStatic memberBASS_CD_Door
Opens, closes, locks or unlocks a drive door.
Public methodStatic memberBASS_CD_DoorIsLocked
Checks if a drive door/tray is locked.
Public methodStatic memberBASS_CD_DoorIsOpen
Checks if a drive door/tray is open.
Public methodStatic memberBASS_CD_GetCache
Gets the read cache of a CD drive.
Public methodStatic memberBASS_CD_GetDriveCount 
Returns the total number of available CD drives.
Public methodStatic memberBASS_CD_GetDriveCount(Boolean)
Returns the total number of available CD drives.
Public methodStatic memberBASS_CD_GetID
Retrieves identification info from the CD in a drive.
Public methodStatic memberBASS_CD_GetIDText
Retrieves CD-Text identification info from the CD in a drive (BASS_CDID_TEXT).
Public methodStatic memberBASS_CD_GetInfo(Int32)
Retrieves information on a drive.
Public methodStatic memberBASS_CD_GetInfo(Int32, Boolean)
Retrieves information on a drive.
Public methodStatic memberBASS_CD_GetInfo(Int32, BASS_CD_INFO)
Retrieves information on a drive.
Public methodStatic memberBASS_CD_GetInfos 
Returns all available CD drive information.
Public methodStatic memberBASS_CD_GetInfos(Boolean)
Returns all available CD drive information.
Public methodStatic memberBASS_CD_GetISRC
Returns the International Standard Recording Code of a track.
Public methodStatic memberBASS_CD_GetSpeed
Retrieves the current read speed setting of a drive.
Public methodStatic memberBASS_CD_GetSpeedFactor
Retrieves the current read speed factor of a drive.
Public methodStatic memberBASS_CD_GetTOC(Int32, BASSCDTOCMode)
Retrieves the TOC from the CD in a drive.
Public methodStatic memberBASS_CD_GetTOC(Int32, BASSCDTOCMode, BASS_CD_TOC)
Retrieves the TOC from the CD in a drive.
Public methodStatic memberBASS_CD_GetTrackLength
Retrieves the length (in bytes) of a track.
Public methodStatic memberBASS_CD_GetTrackLengthSeconds
Retrieves the length (in seconds) of a track.
Public methodStatic memberBASS_CD_GetTrackPregap
Retrieves the pregap length (in bytes) of a track.
Public methodStatic memberBASS_CD_GetTracks
Retrieves the number of tracks on the CD in a drive.
Public methodStatic memberBASS_CD_IsReady
Checks if there is a CD ready in a drive.
Public methodStatic memberBASS_CD_Release
Releases a drive to allow other applications to access it.
Public methodStatic memberBASS_CD_SetCache
Sets the read cache of a CD drive.
Public methodStatic memberBASS_CD_SetInterface
Sets the interface to use to access CD drives
Public methodStatic memberBASS_CD_SetOffset
Sets the read offset of a drive.
Public methodStatic memberBASS_CD_SetSpeed(Int32, Int32)
Sets the read speed of a drive in KB/s.
Public methodStatic memberBASS_CD_SetSpeed(Int32, Single)
Sets the read speed of a drive.
Public methodStatic memberBASS_CD_StreamCreate
Creates a sample stream from an audio CD track.
Public methodStatic memberBASS_CD_StreamCreateEx
Creates a sample stream from an audio CD track, optionally providing a callback function to receive sub-channel data and/or C2 error info.
Public methodStatic memberBASS_CD_StreamCreateFile
Creates a sample stream from an audio CD track, using a CDA file on the CD.

This overload implements Unicode filenames. The BASS_UNICODE flag will be added automatically, if not set.

Public methodStatic memberBASS_CD_StreamCreateFileEx
Creates a sample stream from an audio CD track, using a CDA file on the CD, optionally providing a callback function to receive sub-channel data and/or C2 error info.

This overload implements Unicode filenames. The BASS_UNICODE flag will be added automatically, if not set.

Public methodStatic memberBASS_CD_StreamGetTrack
Retrieves the drive and track number of a CD stream.
Public methodStatic memberBASS_CD_StreamSetTrack
Changes the track of a CD stream.
Public methodStatic memberFreeMe
Unloads this library. This must be called when you have previously called LoadMe .
Public methodStatic memberLoadMe 
Loads this library into memory. The library will be search in the current application directory.
Public methodStatic memberLoadMe(String)
Loads this library into memory. The library will be loaded from the given path.
Back to Top
Fields

  NameDescription
Public fieldStatic memberSupportedStreamExtensions
Supported file extensions of the basscd.dll
Public fieldStatic memberSupportedStreamName
Supported file format name of the basscd.dll
Back to Top
See Also