BASS.NET API for the Un4seen BASS Audio LibraryBassAc3 ClassBASS.NET API for the Un4seen BASS Audio Library
BASS.NET API wrapper for BASS_AC3.DLL

Requires: bass_ac3.dll - Dolby Digital AC-3 Codec (AC3) Add-On - available @ www.un4seen.com.

Inheritance Hierarchy

SystemObject
  Un4seen.Bass.AddOn.Ac3BassAc3

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

public sealed class BassAc3

The BassAc3 type exposes the following members.

Methods

  NameDescription
Public methodStatic memberBASS_AC3_StreamCreateFile(IntPtr, Int64, Int64, BASSFlag)
Creates a sample stream from a Dolby Digital AC-3 memory IntPtr.

This overload implements streaming from memory.

Public methodStatic memberBASS_AC3_StreamCreateFile(String, Int64, Int64, BASSFlag)
Creates a sample stream from a Dolby Digital AC-3 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_AC3_StreamCreateFileUser
Creates a sample stream from a Dolby Digital AC-3 file via a user callback function.
Public methodStatic memberBASS_AC3_StreamCreateURL
Creates a sample stream from a Dolby Digital AC-3 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 bass_ac3.dll
Public fieldStatic memberSupportedStreamName
Supported file format name of the bass_ac3.dll
Top
Remarks

BASS_AC3 is an extension to the BASS audio library, enabling the playback of AC-3 streams. AC-3, often referred to as Dolby Digital, is Dolby's third digital audio coding technology based on a perceptual coding method. It is more advanced than AC-2 and delivers up to 5.1 discrete channels of surround sound in less space than stereo PCM.

The AC-3 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/URL/user functions, or call the BASS_AC3_StreamCreateFile(String, Int64, Int64, BASSFlag) /URL/User functions.

More information can be found on www.dolby.com.

See Also

Reference