BASS.NET API for the Un4seen BASS Audio LibraryBASS_TAG_CART StructureBASS.NET API for the Un4seen BASS Audio Library
TAG structure of a BWF CART 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_CART

The BASS_TAG_CART type exposes the following members.

Properties

  NameDescription
Public propertyArtist
The artist of the cut (max. 64 characters).
Public propertyCategory
The category identification (e.g. PSA, NEWS etc. - max. 64 characters).
Public propertyClassification
The classification or auxiliary key (max. 64 characters).
Public propertyClientID
The client identification (max. 64 characters).
Public propertyCutID
The cut number identification (max. 64 characters).
Public propertyEndDate
The end date of the cut (max. 10 characters, in format yyyy-mm-dd).
Public propertyEndTime
The end time of cut (max. 10 characters, in format hh:mm:ss).
Public propertyLevelReference
Sample value for 0 dB reference (signed Int32).
Public propertyOutCue
The out cue text (max. 64 characters).
Public propertyProducerAppID
The name of the vendor or application (max. 64 characters).
Public propertyProducerAppVersion
The version of the producer application (max. 64 characters).
Public propertyStartDate
The start date of the cut (max. 10 characters, in format yyyy-mm-dd).
Public propertyStartTime
The start time of cut (max. 10 characters, in format hh:mm:ss).
Public propertyTimer1Usage
1st timer usage ID (4 characters).
Public propertyTimer1Value
1st timer value in samples from head (unsigned Int32).
Public propertyTimer2Usage
2nd timer usage ID (4 characters).
Public propertyTimer2Value
2nd timer value in samples from head (unsigned Int32).
Public propertyTimer3Usage
3rd timer usage ID (4 characters).
Public propertyTimer3Value
3rd timer value in samples from head (unsigned Int32).
Public propertyTimer4Usage
4th timer usage ID (4 characters).
Public propertyTimer4Value
4th timer value in samples from head (unsigned Int32).
Public propertyTimer5Usage
5th timer usage ID (4 characters).
Public propertyTimer5Value
5th timer value in samples from head (unsigned Int32).
Public propertyTimer6Usage
6th timer usage ID (4 characters).
Public propertyTimer6Value
6th timer value in samples from head (unsigned Int32).
Public propertyTimer7Usage
7th timer usage ID (4 characters).
Public propertyTimer7Value
7th timer value in samples from head (unsigned Int32).
Public propertyTimer8Usage
8th timer usage ID (4 characters).
Public propertyTimer8Value
8th timer value in samples from head (unsigned Int32).
Public propertyTitle
The title of the cut (max. 64 characters).
Public propertyURL
Uniform resource locator (max. 1024 characters).
Public propertyUserDef
A user defined text (max. 64 characters).
Public propertyVersion
The version of the cart data structure (4 characters).
Top
Methods

  NameDescription
Public methodAsByteArray
Returns a byte array containing the data of this instance plus the given tagText.
Public methodGetTagText
Returns the free form text for scripts or tags for a given BASS_TAG_RIFF_CART tag pointer.
Public methodToString
The description field of the TAG structure.
(Overrides ValueTypeToString.)
Top
Fields

  NameDescription
Public fieldReserved
Reserved for future use (276 bytes!).
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_RIFF_CART) 
If p <> IntPtr.Zero Then 
    Dim cart As BASS_TAG_CART = DirectCast(Marshal.PtrToStructure(p, GetType(BASS_TAG_CART)), BASS_TAG_CART) 
    Dim tagText As String = cart.GetTagText(p) 
    ...
End If
IntPtr p = Bass.BASS_ChannelGetTags(stream, BASSTag.BASS_TAG_RIFF_CART);
if (p != IntPtr.Zero)
{
  BASS_TAG_CART cart = (BASS_TAG_CART)Marshal.PtrToStructure(p, typeof(BASS_TAG_CART));
  string tagText = cart.GetTagText(p);
  ...
}
See Also

Reference