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

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

public byte[] ConvertToRiffINFO(
	bool fromNativeTags
)

Parameters

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

Return Value

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

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

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

INFO chunk idContent
INAMtitle
IARTartist
IPRDalbum
ISBJalbumartist
IPRTtrack
IFRMdisc
ICRDyear
IGNRgenre
ICOPcopyright
ISFTencodedby
ICMTcomment
IENGcomposer
ICMSpublisher
ITCHconductor
IWRIlyricist
IEDTremixer
IPROproducer
ISRFgrouping
IKEYmood
ISHPrating
ISRCisrc
IBPMbpm
IRGPreplaygain_track_peak
IRGGreplaygain_track_gain

Examples

VB
Dim listData As Byte() = TAGs.ConvertToRiffINFO(False)
If listData IsNot Nothing Then 
    BassEnc.BASS_Encode_AddChunk(_encoderHandle, "LIST", listData, listData.Length) 
End If
byte[] listData = TAGs.ConvertToRiffINFO(false);
if (listData != null)
    BassEnc.BASS_Encode_AddChunk(_encoderHandle, "LIST", listData, listData.Length);
See Also

Reference