BASS.NET API for the Un4seen BASS Audio Library

BassCdBASS_CD_GetISRC Method

BASS.NET API for the Un4seen BASS Audio Library
Returns the International Standard Recording Code of a track.

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

public static string BASS_CD_GetISRC(
	int drive,
	int track
)

Parameters

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

Return Value

Type: String
If an error occurs, is returned, use BASS_ErrorGetCode to get the error code. If successful, the ISRC is returned.
Remarks

ERROR CODEDescription
BASS_ERROR_DEVICEdrive is invalid.
BASS_ERROR_NOCDThere's no CD in the drive.
BASS_ERROR_ILLPARAMdrive is invalid.
BASS_ERROR_NOTAVAILThe CD does not have a UPC, ISRC or CD-TEXT info.
BASS_ERROR_UNKNOWNSome other mystery problem!

See Also

Reference