ACMDM_FORMAT_SUGGEST

See also ACMDM_FORMAT_DETAILS, ACMDM_FORMATTAG_DETAILS, ACMDRVFORMATSUGGEST


lParam1 = (LPARAM) pacmDFS  // see below
lParam2 = reserved          // should be ignored

Sent to an Audio Compression Manager (ACM) driver to suggest a destination format for a given source format for a conversion. This message is usually sent to an ACM driver in response to an acmFormatSuggest call.

ACMERR_NOTPOSSIBLE

The ACMDRVFORMATSUGGEST structure and suggestion restrictions specify information that cannot be satisfied by the driver.

MMSYSERR_NOTENABLED

The driver failed to load or initialize.

MMSYSERR_NOTSUPPORTED

The driver does not support format suggestion operations.


lParam1

Address of the ACMDRVFORMATSUGGEST structure that defines how a destination format should be suggested, given a particular source format.

An ACM driver must support this message if it supports the ACMDM_STREAM_OPEN message and conversions other than filtering operations are available. Note that the following parameters for the ACMDM_FORMAT_SUGGEST message will be validated before calling the driver:

The driver need not check for these conditions.