BASS.NET API for the Un4seen BASS Audio LibraryBASS_TAG_ID3 StructureBASS.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.12.0
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

VB
Dim p As IntPtr = Bass.BASS_ChannelGetTags(stream, BASSTag.BASS_TAG_ID3) 
If p <> IntPtr.Zero Then 
    Dim id3 As BASS_TAG_ID3 = DirectCast(Marshal.PtrToStructure(p, GetType(BASS_TAG_ID3)), BASS_TAG_ID3) 
    ...
End If
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