BASS.NET API for the Un4seen BASS Audio LibraryBassOpus ClassBASS.NET API for the Un4seen BASS Audio Library
BASS.NET API wrapper for BASSOPUS.DLL

Requires: bassopus.dll - Opus Interactive Audio Codec (OPUS) Add-On - available @ www.un4seen.com.

Inheritance Hierarchy

SystemObject
  Un4seen.Bass.AddOn.OpusBassOpus

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

public sealed class BassOpus

The BassOpus type exposes the following members.

Methods

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

This overload implements streaming from memory.

Public methodStatic memberBASS_OPUS_StreamCreateFile(String, Int64, Int64, BASSFlag)
Creates a sample stream from a OPUS 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_OPUS_StreamCreateFileUser
Creates a sample stream from a OPUS file via a user callback function.
Public methodStatic memberBASS_OPUS_StreamCreateURL
Creates a sample stream from a OPUS 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 bassopus.dll
Public fieldStatic memberSupportedStreamName
Supported file format name of the bassopus.dll
Top
Remarks

BASSOPUS is an extension to the BASS audio library, enabling the playing of Opus (Opus Interactive Audio Codec) encoded files.

The OPUS format is used in very much the same way as any of the built-in BASS stream formats - simply call the OPUS 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 opus-codec.org.

See Also

Reference