BASS.NET API for the Un4seen BASS Audio LibraryBassWv ClassBASS.NET API for the Un4seen BASS Audio Library

Requires: basswv.dll - WavPack Audio Format (WV) Add-On - available @

Inheritance Hierarchy


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

public sealed class BassWv

The BassWv type exposes the following members.


Public methodStatic memberBASS_WV_StreamCreateFile(IntPtr, Int64, Int64, BASSFlag)
Creates a sample stream from a WavPack memory IntPtr.

This overload implements streaming from memory.

Public methodStatic memberBASS_WV_StreamCreateFile(String, Int64, Int64, BASSFlag)
Creates a sample stream from a WavPack file.

This overload implements Unicode filenames. The BASS_UNICODE flag will be added automatically.

Public methodStatic memberCode exampleBASS_WV_StreamCreateFileUser
Creates a sample stream from a WavPack file via a user callback function.
Public methodStatic memberBASS_WV_StreamCreateURL
Creates a sample stream from an WavPack file on the internet, optionally receiving the downloaded data in a callback.
Public methodStatic memberFreeMe
Unloads this library. This must be called when you have previously called LoadMe.
Public methodStatic memberLoadMe
Loads this library into memory. The library will be search in the current application directory.
Public methodStatic memberLoadMe(String)
Loads this library into memory. The library will be loaded from the given path.

Public fieldStatic memberSupportedStreamExtensions
Supported file extensions of the basswv.dll
Public fieldStatic memberSupportedStreamName
Supported file format name of the basswv.dll

BASSWV is an extension to the BASS audio library, enabling the playback of WavPack files.

WavPack is a completely open audio compression format providing lossless, high quality lossy, and an unique hybrid compression mode. In the default lossless mode WavPack acts just like a WinZip® compressor for audio files. Unlike MP3 or WMA encoding which can affect the sound quality, not a single bit of the original information is lost. The hybrid mode provides all the advantages of lossless compression with an additional bonus: instead of creating a single file, this mode creates both a relatively small, high quality lossy file that can be used all by itself, and a correction file that, when combined with the lossy file, provides full lossless restoration.

The WavPack format is used in the same way as any of the built-in BASS stream formats. Simply call BASS_PluginLoad(String) to load the add-on into BASS and benefit the usage of the standard sample/stream/user functions, or call the BASS_WV_StreamCreateFile(String, Int64, Int64, BASSFlag) / User functions.

More information can be found on

See Also