ACMFORMATDETAILS
The ACMFORMATDETAILS
structure details a waveform-audio format for a specific format tag for an ACM
driver.
typedef struct {
DWORD cbStruct;
DWORD dwFormatIndex;
DWORD
dwFormatTag;
DWORD fdwSupport;
LPWAVEFORMATEX pwfx;
DWORD cbwfx;
char
szFormat[ACMFORMATDETAILS_FORMAT_CHARS];
} ACMFORMATDETAILS;
Members
cbStruct
Size, in
bytes, of the ACMFORMATDETAILS structure. This member must be
initialized before an application calls the acmFormatDetails
dwFormatIndex
Index of the
format to retrieve details for. The index ranges from zero to one less than the
number of standard formats supported by an ACM driver for a format tag. The
number of standard formats supported by a driver for a format tag is contained
in the cStandardFormats member of the ACMFORMATTAGDETAILS
dwFormatTag
Waveform-audio
format tag that the ACMFORMATDETAILS structure describes. This member is
used for input for the ACM_FORMATDETAILSF_INDEX query flag. For the ACM_FORMATDETAILSF_FORMAT
query flag, this member must be initialized to the same format tag as the pwfx
member specifies. If a call to the acmFormatDetails
fdwSupport
Driver-support
flags specific to the specified format. These flags are identical to the fdwSupport
flags of the ACMDRIVERDETAILS
ACMDRIVERDETAILS_SUPPORTF_ASYNC
Driver
supports asynchronous conversions with the specified format tag.
ACMDRIVERDETAILS_SUPPORTF_CODEC
Driver
supports conversion between two different format tags for the specified format.
For example, if a driver supports compression from WAVE_FORMAT_PCM to
WAVE_FORMAT_ADPCM with the specified format, this flag is set.
ACMDRIVERDETAILS_SUPPORTF_CONVERTER
Driver
supports conversion between two different formats of the same format tag while
using the specified format. For example, if a driver supports resampling of
WAVE_FORMAT_PCM to the specified format, this flag is set.
ACMDRIVERDETAILS_SUPPORTF_FILTER
Driver
supports a filter (which modifies data without changing any format attributes)
with the specified format. For example, if a driver supports volume or echo
operations on WAVE_FORMAT_PCM, this flag is set.
ACMDRIVERDETAILS_SUPPORTF_HARDWARE
Driver
supports hardware input and/or output of the specified format through a waveform-audio
device. An application should use acmMetrics0KXYCH with the ACM_METRIC_HARDWARE_WAVE_INPUT
and ACM_METRIC_HARDWARE_WAVE_OUTPUT metric indexes to get the waveform-audio
device identifiers associated with the supporting ACM driver.
pwfx
Address of a WAVEFORMATEX
cbwfx
Size, in
bytes, available for pwfx to receive the format details. The acmMetrics
szFormat
String that
describes the format for the dwFormatTag type. If the acmFormatDetails
See Also