![]() |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure contains client-specified input arguments to the AcmFormatSuggestfunction. The ACM fills in this structure with the client's input arguments and passes it to an ACM driver with an ACMDM_FORMAT_SUGGEST message.
typedef struct { DWORD cbStruct ; DWORD fdwSuggest ; LPWAVEFORMATEX pwfxSrc ; DWORD cbwfxSrc ; LPWAVEFORMATEX pwfxDst ; DWORD cbwfxDst ; } ACMDRVFORMATSUGGEST;
Members
Value | Description |
---|---|
ACM_FORMATSUGGESTF_WFORMATTAG | The wFormatTagmember of the WAVEFORMATEXstructure pointed to by pwfxDstcontains a format tag. The driver can only suggest a destination format associated with the specified format tag; it cannot enforce the suggested format. |
ACM_FORMATSUGGESTF_NCHANNELS | The nChannelsmember of the WAVEFORMATEXstructure pointed to by pwfxDstcontains a channel value. The driver can only suggest a destination format whose channel value matches the specified value; it cannot enforce the suggested format. |
ACM_FORMATSUGGESTF_NSAMPLESPERSEC | The nSamplesPerSecmember of the WAVEFORMATEXstructure pointed to by pwfxDstcontains a sample rate. The driver can only suggest a destination format whose sample rate matches the specified rate; it cannot enforce the suggested format. |
ACM_FORMATSUGGESTF_WBITSPERSAMPLE | The nBitsPerSamplemember of the WAVEFORMATEXstructure pointed to by pwfxDstcontains a sample size. The driver can only suggest a destination format whose sample size matches the specified size; it cannot enforce the suggested format. |
Remarks
The WAVEFORMATEXstructures specified for source or destination formats might be extended structures defined for particular formats. For example, see IMAADPCMWAVEFORMATin the Mmreg.h header file. Check the structure's wFormatTagmember to determine the format type and, therefore, the specific structure being passed.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 1.0 and later | Msacmdrv.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004