BASS.NET API for the Un4seen BASS Audio Library

ACMFORMAT Class

BASS.NET API for the Un4seen BASS Audio Library
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

SystemObject
  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

  NameDescription
Public methodACMFORMAT
Creates an instance of a generic audio codec format and automatically determines the suggested format buffer length.
Public methodCode exampleACMFORMAT(Int32)
Creates an instance of a generic audio codec format with a given total length.
Public methodCode exampleACMFORMAT(IntPtr)
Creates an instance of a generic audio codec format from the given format buffer pointer.
Top
Properties

  NameDescription
Public propertyFormatLength
Returns the total length of this instance.
Top
Methods

  NameDescription
Public methodStatic memberLoadFromFile
Loads ACMFORMAT codec format data from a file.
Public methodStatic memberSaveToFile
Saves ACMFORMAT codec format data to a file name.
Public methodToString
Returns a description string for the instance members.
(Overrides ObjectToString.)
Top
Fields

  NameDescription
Public fieldextension
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.
Public fieldwaveformatex
The WAVEFORMATEX structure that specifies the basic format.
Top
See Also

Reference