BASS.NET API for the Un4seen BASS Audio LibraryBassAlac ClassBASS.NET API for the Un4seen BASS Audio Library
BASS.NET API wrapper for BASSALAC.DLL

Requires: bassalac.dll - Apple Lossless Audio Codec (ALAC) Add-On - available @ www.un4seen.com.

Inheritance Hierarchy

SystemObject
  Un4seen.Bass.AddOn.AlacBassAlac

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

public sealed class BassAlac

The BassAlac type exposes the following members.

Methods

  NameDescription
Public methodStatic memberBASS_ALAC_StreamCreateFile(IntPtr, Int64, Int64, BASSFlag)
Creates a sample stream from a Apple Lossless Audio memory IntPtr.

This overload implements streaming from memory.

Public methodStatic memberBASS_ALAC_StreamCreateFile(String, Int64, Int64, BASSFlag)
Creates a sample stream from a Apple Lossless Audio 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_ALAC_StreamCreateFileUser
Creates a sample stream from a Apple Lossless Audio file via a user callback function.
Public methodStatic memberBASS_ALAC_StreamCreateURL
Creates a sample stream from a ALAC 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 bassalac.dll
Public fieldStatic memberSupportedStreamName
Supported file format name of the bassalac.dll
Top
Remarks

BASSALAC is an extension to the BASS audio library, enabling the playback of ALAC files.

ALAC is an audio codec developed by Apple Computer. It is not a variant of AAC, but a totally new lossless format which is usually wrapped into an MP4 or MOV container. The Apple Lossless Encoder was introduced as a component of QuickTime 6.5.1 on April 28th, 2004 and thus as a feature of iTunes 4.5.

The ALAC 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_ALAC_StreamCreateFile(String, Int64, Int64, BASSFlag) /User functions.

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

See Also

Reference