BASS.NET API for the Un4seen BASS Audio LibraryBassBASS_ChannelGetTagsCA Method BASS.NET API for the Un4seen BASS Audio Library
Retrieves the CoreAudio codec information structure from a channel, if they are available.

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

public static BASS_TAG_CACODEC BASS_ChannelGetTagsCA(
	int handle


Type: SystemInt32
The channel handle...a HSTREAM.

Return Value

or an instance of the array of strings with exactly 9 elements:

string[0] = Description/Title (max. 256 chars)

string[1] = Originator/Artist (max. 32 chars)

string[2] = OriginatorReference/EncodedBy (max. 32 chars)

string[3] = OriginationDate (in format 'yyyy-mm-dd')

string[4] = OriginationTime (in format 'hh:mm:ss')

string[5] = TimeReference (in samples since midnight)

string[6] = Version (BWF version is typically 0 or 1)

string[7] = UMID/Copyright (max. 64 chars)

string[8] = CodingHistory/Comment


More info about the BWF/RF64 tags (Broadcast Audio Extension) can be found here: EBU specification.

In addition you might also use the BassTags class, which provides extended TAG reading support.

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.
BASS_ERROR_NOTAVAILThe requested tags are not available.

See Also