BASS.NET API for the Un4seen BASS Audio LibraryBassFlac ClassBASS.NET API for the Un4seen BASS Audio Library
BASS.NET API wrapper for BASSFLAC.DLL

Requires: bassflac.dll - Free Lossless Audio Codec (FLAC) Add-On - available @ www.un4seen.com.

Inheritance Hierarchy

SystemObject
  Un4seen.Bass.AddOn.FlacBassFlac

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

public sealed class BassFlac

The BassFlac type exposes the following members.

Methods

  NameDescription
Public methodStatic memberBASS_FLAC_StreamCreateFile(IntPtr, Int64, Int64, BASSFlag)
Creates a sample stream from a FLAC memory IntPtr.

This overload implements streaming from memory.

Public methodStatic memberBASS_FLAC_StreamCreateFile(String, Int64, Int64, BASSFlag)
Creates a sample stream from a FLAC file.

This overload implements UNICODE filenames. The BASS_UNICODE flag will be added automatically, since all .Net strings are always unicode.

Public methodStatic memberCode exampleBASS_FLAC_StreamCreateFileUser
Creates a sample stream from a FLAC file via a user callback function.
Public methodStatic memberBASS_FLAC_StreamCreateURL
Creates a sample stream from a FLAC 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.
Top
Fields

  NameDescription
Public fieldStatic memberSupportedStreamExtensions
Supported file extensions of the bassflac.dll
Public fieldStatic memberSupportedStreamName
Supported file format name of the bassflac.dll
Top
Remarks

BASSFLAC is an extension to the BASS audio library, enabling the playing of FLAC (Free Lossless Audio Codec) encoded files.

The FLAC format is used in very much the same way as any of the built-in BASS stream formats - simply call the FLAC stream creation function instead of the BASS built-in functions. The BASS plugin system (see BASS_PluginLoad(String)) is also supported.

More information can be found on flac.sourceforge.net.

See Also

Reference