ACMFILTERDETAILS
The ACMFILTERDETAILS
structure details a waveform-audio filter for a specific filter tag for an ACM
driver.
typedef struct {
DWORD cbStruct;
DWORD dwFilterIndex;
DWORD dwFilterTag;
DWORD fdwSupport;
LPWAVEFILTER pwfltr;
DWORD cbwfltr;
char
szFilter[ACMFILTERDETAILS_FILTER_CHARS];
} ACMFILTERDETAILS;
Members
cbStruct
Size, in
bytes, of the ACMFILTERDETAILS structure. This member must be initialized
before calling the acmFilterDetails
dwFilterIndex
Index of the
filter about which details will be retrieved. The index ranges from zero to one
less than the number of standard filters supported by an ACM driver for a
filter tag. The number of standard filters supported by a driver for a filter
tag is contained in the cStandardFilters member of the ACMFILTERTAGDETAILS
dwFilterTag
Waveform-audio
filter tag that the ACMFILTERDETAILS structure describes. This member is
used as an input for the ACM_FILTERDETAILSF_INDEX query flag. For the
ACM_FILTERDETAILSF_FORMAT query flag, this member must be initialized to the
same filter tag as the pwfltr member specifies. If the acmFilterDetails
fdwSupport
Driver-support
flags specific to the specified filter. These flags are identical to the fdwSupport
flags of the ACMDRIVERDETAILS
ACMDRIVERDETAILS_SUPPORTF_ASYNC
Driver
supports asynchronous conversions.
ACMDRIVERDETAILS_SUPPORTF_CODEC
Driver
supports conversion between two different format tags while using the specified
filter. For example, if a driver supports compression from WAVE_FORMAT_PCM to
WAVE_FORMAT_ADPCM with the specified filter, this flag is set.
ACMDRIVERDETAILS_SUPPORTF_CONVERTER
Driver
supports conversion between two different formats of the same format tag while
using the specified filter. For example, if a driver supports resampling of
WAVE_FORMAT_PCM with the specified filter, this flag is set.
ACMDRIVERDETAILS_SUPPORTF_FILTER
Driver
supports a filter (modification of the data without changing any of the format
attributes). 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, output, or both with the specified filter through a
waveform-audio device. An application should use the acmMetrics
pwfltr
Address of a WAVEFILTER
cbwfltr
Size, in
bytes, available for pwfltr to receive the filter details. The acmMetrics
szFilter
String that
describes the filter for the dwFilterTag type. If the acmFilterDetails
See Also