BASS.NET API for the Un4seen BASS Audio LibraryACMFORMATLoadFromFile Method BASS.NET API for the Un4seen BASS Audio Library
Loads ACMFORMAT codec format data from a file.

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

public static ACMFORMAT LoadFromFile(
	string fileName
)

Parameters

fileName
Type: SystemString
The file name from where to load the ACM codec format data.

Return Value

Type: ACMFORMAT
On success an instance of ACMFORMAT is returned, else is returned.
Remarks

Use SaveToFile(ACMFORMAT, String) to write the instance data of an ACMFORMAT codec format to a file.

This method might be usefull together with BASS_Encode_GetACMFormat(Int32, IntPtr, Int32, String, BASSACMFormat), BASS_Encode_StartACM(Int32, ACMFORMAT, BASSEncode, ENCODEPROC, IntPtr) or BASS_Encode_StartACMFile(Int32, IntPtr, BASSEncode, String) in order to load and save predefined codec's.

See Also

Reference