BASS.NET API for the Un4seen BASS Audio LibraryEncoderACMACM_Codec FieldBASS.NET API for the Un4seen BASS Audio Library
Gets or Sets the ACM codec to be used.

Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version:

public ACMFORMAT ACM_Codec

Field Value


By default a standard WAVE_FORMAT_PCM (16-bit, stereo, 44.1kHz) ACM codec is selected.

You might modify the waveformatex members in order to change a default WAVE_FORMAT_PCM codec (e.g. change the samplerate or bitwidth).

In order to load an already defined ACM codec format, make use of the LoadFromFile(String) method. For more details see the ACM documentation: ACMFORMAT and BASS_Encode_GetACMFormat(Int32, IntPtr, Int32, String, BASSACMFormat).

See Also