BASS.NET API for the Un4seen BASS Audio LibraryTAG_INFOConvertToRiffBEXT Method BASS.NET API for the Un4seen BASS Audio Library
Converts the members of this instance to a WAV RIFF BEXT chunk.

Namespace: Un4seen.Bass.AddOn.Tags
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public byte[] ConvertToRiffBEXT(
	bool fromNativeTags
)

Parameters

fromNativeTags
Type: SystemBoolean
to create the BEXT chunk out of the NativeTags, to create them from the standard members.

Return Value

Type: Byte
The byte array containing the BEXT chunk data.
Remarks

You might use this method to write a RIFF BEXT chunk to a wave file using the BASS_Encode_AddChunk(Int32, String, IntPtr, Int32) method.

When creating the BEXT chunk from the the standard members, the following mapping is used:

BEXT fieldContent
Descriptiontitle
Originatorartist
OriginatorReferenceencodedby
OriginationDateyear
OriginationTimeyear
TimeReference--
UMID--
Version1
CodingHistory--
Note: Broadcast Wave Format (bext) native tags are named as above with the prefix 'BWF'.

Examples

VB
Dim bextData As Byte() = TAGs.ConvertToRiffBEXT(True)
If bextData IsNot Nothing Then 
    BassEnc.BASS_Encode_AddChunk(_encoderHandle, "bext", bextData, bextData.Length) 
End If
byte[] bextData = TAGs.ConvertToRiffBEXT(true);
if (bextData != null)
    BassEnc.BASS_Encode_AddChunk(_encoderHandle, "bext", bextData, bextData.Length);
See Also

Reference