BASS.NET API for the Un4seen BASS Audio Library

BASS_TAG_BEXT Structure

BASS.NET API for the Un4seen BASS Audio Library
TAG structure of a BWF BEXT 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_BEXT

The BASS_TAG_BEXT type exposes the following members.

Properties

  NameDescription
Public propertyDescription
The description or title (max. 256 characters).
Public propertyOriginationDate
The date of creation (max. 10 characters, in format yyyy-mm-dd).
Public propertyOriginationTime
The time of creation (max. 10 characters, in format hh:mm:ss).
Public propertyOriginator
The name of the originator or artist (max. 32 characters).
Public propertyOriginatorReference
The reference of the originator or encoded by (max. 32 characters).
Public propertyUMID
The SMPTE UMID as a hex string in the format 'XX XX XX... XX'.
Top
Methods

  NameDescription
Public methodAsByteArray
Returns a byte array containing the data of this instance plus the given codingHistory.
Public methodGetCodingHistory
Returns the coding history for a given BASS_TAG_RIFF_BEXT tag pointer.
Public methodToString
The description field of the TAG structure.
(Overrides ValueTypeToString.)
Top
Fields

  NameDescription
Public fieldReserved
Reserved for future use.
Public fieldTimeReference
First sample count since midnight (little-endian).
Public fieldVersion
The BWF version (little-endian)
Top
Remarks

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

IntPtr p = Bass.BASS_ChannelGetTags(stream, BASSTag.BASS_TAG_RIFF_BEXT);
if (p != IntPtr.Zero)
{
  BASS_TAG_BEXT bext = (BASS_TAG_BEXT)Marshal.PtrToStructure(p, typeof(BASS_TAG_BEXT));
  string codingHist = bext.GetCodingHistory(p);
  ...
}
See Also

Reference