BASS.NET API for the Un4seen BASS Audio Library

BASS_TAG_APE_BINARY Class

BASS.NET API for the Un4seen BASS Audio Library
APE binary tag structure as returned by BASS_ChannelGetTags(Int32, BASSTag) using the BASS_TAG_APE_BINARY flag.
Inheritance Hierarchy

SystemObject
  Un4seen.BassBASS_TAG_APE_BINARY

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

[SerializableAttribute]
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
public class BASS_TAG_APE_BINARY

The BASS_TAG_APE_BINARY type exposes the following members.

Properties

  NameDescription
Public propertyData
The binary tag data.
Public propertyKey
The name of the tag.
Public propertyLength
The size of Data in bytes.
Top
Methods

  NameDescription
Public methodStatic memberFromIntPtr
Creates an instance of the BASS_TAG_APE_BINARY class from a pointer.
Public methodStatic memberCode exampleGetTag
Gets a BASS_TAG_APE_BINARY tag from a given channel handle.
Public methodToString
Returns the Key of the binary tag.
(Overrides ObjectToString.)
Top
Remarks

When calling BASS_ChannelGetTags(Int32, BASSTag) with the BASS_TAG_APE_BINARY flag make sure to add the index number of the binray tag to get. E.g. call:

Bass.BASS_ChannelGetTags( stream, (BASSTag)(BASSTag.BASS_TAG_APE_BINARY + 1) )
to get the 2nd binary tag.

Examples

Read all APE binary tags:
BASS_TAG_APE_BINARY apeBin;
for (int n = 0; (apeBin = BASS_TAG_APE_BINARY.GetTag(stream, n)) != null; n++)
{
    Console.WriteLine(apeBin);
    // access the binary data
    byte[] data = apeBin.Data;
}
See Also

Reference