|
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 or acmFilterEnum functions. The size specified in this member must be large enough to contain
the base ACMFILTERDETAILS structure. When the acmFilterDetails function returns, this member contains the actual size of the information
returned. The returned information will never exceed the requested size.
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 structure. The dwFilterIndex member is used only when querying standard filter details about a driver by
index; otherwise, this member should be zero. Also, this member will be set to
zero by the ACM when an application queries for details on a filter; in other
words, this member is used only for input and is never returned by the ACM or an
ACM driver.
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 function is successful, this member is always returned. This member should be
set to WAVE_FILTER_UNKNOWN for all other query flags.
fdwSupport
Driver-support flags specific to the specified filter. These flags are
identical to the fdwSupport flags of the ACMDRIVERDETAILS structure, but they are specific to the filter that is being queried. This
member can be a combination of the following values and identifies which
operations the driver supports for the filter tag:
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 function with the ACM_METRIC_HARDWARE_WAVE_INPUT and
ACM_METRIC_HARDWARE_WAVE_OUTPUT metric indexes to retrieve the waveform-audio device identifiers
associated with the supporting ACM driver.
pwfltr
Address of a WAVEFILTER structure that will receive the filter details. This structure requires no
initialization by the application unless the ACM_FILTERDETAILSF_FILTER flag is
specified with the acmFilterDetails function. In this case, the dwFilterTag member of the WAVEFILTER structure must be equal to the dwFilterTag member of the ACMFILTERDETAILS structure.
cbwfltr
Size, in bytes, available for pwfltr to receive the filter details. The acmMetrics and acmFilterTagDetails functions can be used to determine the maximum size required for any filter
available for the specified driver (or for all installed ACM drivers).
szFilter
String that describes the filter for the dwFilterTag type. If the acmFilterDetails function is successful, this string is always returned.
See Also
acmFilterDetails, ACMDRIVERDETAILS, acmFilterEnum, acmFilterTagDetails, ACMFILTERTAGDETAILS, acmMetrics, WAVEFILTER
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|