BASS.NET API for the Un4seen BASS Audio LibraryBassTags ClassBASS.NET API for the Un4seen BASS Audio Library
Internal Tag support of the BASS.NET API .

Requires: bass.dll - for better Tag reading support.

Inheritance Hierarchy

SystemObject
  Un4seen.Bass.AddOn.TagsBassTags

Namespace: Un4seen.Bass.AddOn.Tags
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

[SerializableAttribute]
public sealed class BassTags

The BassTags type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCode exampleBASS_TAG_GetFromFile(String)
Retrieves the requested tags/headers from a file, if they are available.
Public methodStatic memberCode exampleBASS_TAG_GetFromFile(Int32, TAG_INFO)
Retrieves the requested tags/headers from a stream channel, if they are available.
Public methodStatic memberCode exampleBASS_TAG_GetFromFile(String, Boolean, Boolean)
Retrieves the requested tags/headers from a file, if they are available.
Public methodStatic memberCode exampleBASS_TAG_GetFromFile(String, Boolean, TAG_INFO)
Retrieves the requested tags/headers from a file, if they are available.
Public methodStatic memberCode exampleBASS_TAG_GetFromURL
Retrieves the requested tags/headers from a URL stream, if they are available.
Public methodStatic memberReadID3v1
Reads an ID3v1 tag structure.
Public methodStatic memberReadID3v2
Reads an ID3v2 tag structure.
Top
Fields

  NameDescription
Public fieldStatic memberEvalNativeTAGs
Gets or Sets, if native tags should be stored.
Public fieldStatic memberEvalNativeTAGsBEXT
Gets or Sets, if native Riff BEXT tags should be stored.
Public fieldStatic memberEvalNativeTAGsCART
Gets or Sets, if native Riff CART tags should be stored.
Public fieldStatic memberID3v1Genre
Contains a list of ID3v1 audio generes.
Public fieldStatic memberReadPictureTAGs
Gets or Sets, if picture tags should be read.
Top
Remarks

The BASS audio library has limited support for reading tags, associated with a stream. This class extends that functionality, allowing you to extract specific TAG information from a stream or file. The extracted tag values are formatted into a general TAG_INFO class structure.

Supported tags are ID3v1, ID3v2, WMA, OGG, RIFF, BWF, MOD, MP4, MF and APE and are evaluated as followed:

MP3, MP2, MP1: first ID3v2, then ID3v1, then APE, then BWF.

OGG: first OGG, then APE.

WMA: only WMA.

MP4, AAC: first MP4, then ID3v2, then APE, then OGG

WAV: RIFF_INFO, then BWF, then ID3v2

all others: first APE, then OGG, then ID3v2, then ID3v1.

See Also

Reference