The ACMFORMAT is a specialized and generic format structure. It contains the WAVEFORMATEX structure and define the format of any ACM audio data.
Only format information common to all ACM audio data formats are included in this structure.
For formats that require additional information, this structure has an additional byte[] keeping the additional information.
Inheritance Hierarchy
Un4seen.Bass.AddOn.EncACMFORMAT
Namespace: Un4seen.Bass.AddOn.Enc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
[SerializableAttribute] [StructLayoutAttribute(LayoutKind.Sequential, Pack = 2, CharSet = CharSet.Ansi)] public sealed class ACMFORMAT
The ACMFORMAT type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ACMFORMAT |
Creates an instance of a generic audio codec format and automatically determines the suggested format buffer length.
| |
ACMFORMAT(Int32) |
Creates an instance of a generic audio codec format with a given total length.
| |
ACMFORMAT(IntPtr) |
Creates an instance of a generic audio codec format from the given format buffer pointer.
|
Properties
Name | Description | |
---|---|---|
FormatLength |
Returns the total length of this instance.
|
Methods
Name | Description | |
---|---|---|
LoadFromFile |
Loads ACMFORMAT codec format data from a file.
| |
SaveToFile |
Saves ACMFORMAT codec format data to a file name.
| |
ToString |
Returns a description string for the instance members.
(Overrides ObjectToString.) |
Fields
Name | Description | |
---|---|---|
extension |
Extra format information is appended to the end of the WAVEFORMATEX structure in this array.
This information can be used by non-PCM formats to store extra attributes for the wFormatTag.
If no extra information is required by the wFormatTag, this member should be set to zero.
For WAVE_FORMAT_PCM formats (and only WAVE_FORMAT_PCM formats), this member is ignored.
| |
waveformatex |
The WAVEFORMATEX structure that specifies the basic format.
|
See Also