BASS.NET API for the Un4seen BASS Audio Library

BassBASS_ChannelGetTagsFLACPictures Method

BASS.NET API for the Un4seen BASS Audio Library
Retrieves all FLAC picture tags from a channel, if they are available.

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

public static BASS_TAG_FLAC_PICTURE[] BASS_ChannelGetTagsFLACPictures(
	int handle
)

Parameters

handle
Type: SystemInt32
The channel handle.

Return Value

Type: BASS_TAG_FLAC_PICTURE
or an array of BASS_TAG_FLAC_PICTURE instances.
Remarks

Only available when streaming a file containing FLAC tags.

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.

Examples

Bass.BASS_PlugInLoad("bassflac.dll");
...
int stream = Bass.BASS_StreamCreateFile("test.flac", 0, 0, BASSFlag.BASS_DEFAULT);
BASS_TAG_FLAC_PICTURE[] pics = Bass.BASS_ChannelGetTagsFLACPictures(stream);
See Also

Reference