BASS.NET API for the Un4seen BASS Audio Library

BASS_TAG_ID3 Structure

BASS.NET API for the Un4seen BASS Audio Library
TAG structure of an ID3v1 block to be used with BASS_ChannelGetTags(Int32, BASSTag).

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

[SerializableAttribute]
public struct BASS_TAG_ID3

The BASS_TAG_ID3 type exposes the following members.

Properties

  NameDescription
Public propertyAlbum
The album string (max. 30 characters).
Public propertyArtist
The artist string (max. 30 characters).
Public propertyComment
The comment string (max. 28 characters).
Public propertyID
The id string (should be 'TAG').
Public propertyTitle
The title string (max. 30 characters).
Public propertyYear
The year string (max. 4 characters).
Top
Fields

  NameDescription
Public fieldGenre
The genre id.
Public fieldTrack
The track number.
Top
Remarks

Use 'Marshal.PtrToStructure' to convert a tag pointer to this structure.
Examples

IntPtr p = Bass.BASS_ChannelGetTags(stream, BASSTag.BASS_TAG_ID3);
if (p != IntPtr.Zero)
{
  BASS_TAG_ID3 id3 = (BASS_TAG_ID3)Marshal.PtrToStructure(p, typeof(BASS_TAG_ID3));
  ...
}
See Also

Reference