BASS.NET API for the Un4seen BASS Audio LibraryEncoderWavPackWV_NewRiffHeader FieldBASS.NET API for the Un4seen BASS Audio Library
-r: Generate new RIFF wav header (removing extra chunk info, default is ).

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

public bool WV_NewRiffHeader

Field Value

Type: Boolean

WavPack normally saves all the RIFF header information contained in the wav file (including any chunks after the audio data). This is done so that WvUnpack.exe can restore the original wav files exactly. The -r option causes WavPack to discard the header contained in the source file (and any extra chunks) and generate a fresh wav header. Obviously the source wav header is still used to determine the format and size of the file (i.e. this is not a "raw" mode). Note that for multichannel files a WAVEFORMATEXTENSIBLE header is generated whether the source file had one or not.
See Also