typedef struct {
DWORD cbStruct;
DWORD fdwSuggest;
LPWAVEFORMATEX pwfxSrc;
DWORD cbwfxSrc;
LPWAVEFORMATEX pwfxDst;
DWORD cbwfxDst;
} ACMDRVFORMATSUGGEST;
Contains information needed by an Audio Compression Manager (ACM) driver to respond to the ACMDM_FORMAT_SUGGEST message. The lParam1 parameter of the acmDriverProc function will contain a pointer to this structure during the ACMDM_FORMAT_SUGGEST message.
ACM_FORMATSUGGESTF_NCHANNELS | Specifies that the nChannels member of the pwfxDst member of the ACMDRVFORMATSUGGEST structure is valid. The driver should only suggest formats that can be converted from the format given in the pwfxSrc member of the ACMDRVFORMATSUGGEST structure matching the destination nChannels member, or fail. |
ACM_FORMATSUGGESTF_NSAMPLESPERSEC | Specifies that the nSamplesPerSec member of the pwfxDst member of the ACMDRVFORMATSUGGEST structure is valid. The driver should only suggest formats that can be converted from the format given in the pwfxSrc member of the ACMDRVFORMATSUGGEST structure matching the destination nSamplesPerSec member, or fail. |
ACM_FORMATSUGGESTF_WBITSPERSAMPLE | Specifies that the wBitsPerSample member of the pwfxDst member of the ACMDRVFORMATSUGGEST structure is valid. The driver should only suggest formats that can be converted from the format given in the pwfxSrc member of the ACMDRVFORMATSUGGEST structure matching the destination wBitsPerSample member, or fail. |
ACM_FORMATSUGGESTF_WFORMATTAG | Specifies that the wFormatTag member of the pwfxDst member of the ACMDRVFORMATSUGGEST structure is valid. The driver should only suggest formats that can be converted from the format given in the pwfxSrc member of the ACMDRVFORMATSUGGEST structure matching the destination wFormatTag member, or fail. |
ACMDM_FORMAT_DETAILS, ACMDM_FORMAT_SUGGEST, ACMDM_FORMATTAG_DETAILS