BASS.NET API for the Un4seen BASS Audio Library

ACMFORMATSaveToFile Method

BASS.NET API for the Un4seen BASS Audio Library
Saves ACMFORMAT codec format data to a file name.

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

public static bool SaveToFile(
	ACMFORMAT form,
	string fileName
)

Parameters

form
Type: Un4seen.Bass.AddOn.EncACMFORMAT
The ACMFORMAT as returned by BASS_Encode_GetACMFormat(Int32, IntPtr, Int32, String, BASSACMFormat).
fileName
Type: SystemString
The file name to save the ACM codec format data to.

Return Value

Type: Boolean
on success, else .
Remarks

Use LoadFromFile(String) to (re)create an instance of an ACMFORMAT codec format.

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'.

See Also

Reference