BASS.NET API for the Un4seen BASS Audio Library

BassAac Class

BASS.NET API for the Un4seen BASS Audio Library
BASS.NET API wrapper for BASS_AAC.DLL

Requires: bass_aac.dll - AAC and MP4 Audio Codec (AAC) Add-On - available @ www.un4seen.com.

Inheritance Hierarchy

SystemObject
  Un4seen.Bass.AddOn.AacBassAac

Namespace:  Un4seen.Bass.AddOn.Aac
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public sealed class BassAac

The BassAac type exposes the following members.

Methods

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

This overload implements streaming from memory.

Public methodStatic memberBASS_AAC_StreamCreateFile(String, Int64, Int64, BASSFlag)
Creates a sample stream from a AAC 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_AAC_StreamCreateFileUser
Creates a sample stream from a AAC file via a user callback function.
Public methodStatic memberBASS_AAC_StreamCreateURL
Creates a sample stream from a AAC file on the internet, optionally receiving the downloaded data in a callback.
Public methodStatic memberBASS_MP4_StreamCreateFile(IntPtr, Int64, Int64, BASSFlag)
Creates a sample stream from a MP4 memory IntPtr.

This overload implements streaming from memory.

Public methodStatic memberBASS_MP4_StreamCreateFile(String, Int64, Int64, BASSFlag)
Creates a sample stream from a MP4 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_MP4_StreamCreateFileUser
Creates a sample stream from a MP4 file via user callback functions.
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_aac.dll
Public fieldStatic memberSupportedStreamName
Supported file format name of the bass_aac.dll
Top
Remarks

BASS_AAC is an extension to the BASS audio library, enabling the playback of AAC and MP4 files and streams.

Advanced Audio Coding (AAC) is a wideband audio coding algorithm that exploits two primary coding strategies to dramatically reduce the amount of data needed to convey high-quality digital audio. First, signal components that are "perceptually irrelevant" and can be discarded without a perceived loss of audio quality are removed. Next, redundancies in the coded audio signal are eliminated. Efficient audio compression is achieved by a variety of perceptual audio coding and data compression tools, which are combined in the MPEG-4 AAC specification.

The AAC and MP4 formats are 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_AAC_StreamCreateFile(String, Int64, Int64, BASSFlag) /URL/User functions.

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

BASS_AAC is distributed under the GPL (see LICENSE.TXT).

- For commercial use of BASS_AAC, please contact Nero AG at Partner with Nero to implement Nero Digital™ technology.

- AAC is a patented technology. To use it in your software, please obtain a license from Via Licensing at www.vialicensing.com.

See Also

Reference