Compartir a través de


ACM Driver Messages (Compact 2013)

3/26/2014

The following table lists the messages that the ACM passes to the ACM drivers.

Programming element

Description

ACMDM_DRIVER_ABOUT

Message that requests that the driver display its About dialog box.

ACMDM_DRIVER_DETAILS

Message that requests that the driver return detailed information about its capabilities.

ACMDM_DRIVER_NOTIFY

Message that notifies the driver of changes to other ACM drivers.

ACMDM_FILTER_DETAILS

Message that requests information about a filter that is associated with a specified filter tag.

ACMDM_FILTERTAG_DETAILS

Message that requests information about a specified filter tag.

ACMDM_FORMAT_DETAILS

Message that requests information about the format that is associated with a specified filter tag.

ACMDM_FORMAT_SUGGEST

Message that requests that the driver suggest a target conversion format for a specified source format.

ACMDM_FORMATTAG_DETAILS

Message that requests information about a format tag.

ACMDM_HARDWARE_WAVE_CAPS_INPUT

Message that requests information about the input capabilities of the audio hardware.

ACMDM_HARDWARE_WAVE_CAPS_OUTPUT

Message that requests information about the output capabilities of the audio hardware.

ACMDM_STREAM_CLOSE

Message that requests that the driver close a conversion stream.

ACMDM_STREAM_CONVERT

Message that requests that the driver convert an audio stream.

ACMDM_STREAM_OPEN

Message that requests that the driver open a new audio stream.

ACMDM_STREAM_PREPARE

Message that requests that the driver prepare any buffers that are associated with an audio stream.

ACMDM_STREAM_RESET

Message that requests that the driver stop operations on an audio stream.

ACMDM_STREAM_SIZE

Message that requests that the driver return the size that is required for a source or destination buffer.

ACMDM_STREAM_UNPREPARE

Message that requests that the driver clear any prepared buffers that are associated with an audio stream.

DRV_CLOSE

This message requests a driver to be closed. The codec receives a DRV_CLOSE message for each DRV_OPEN message that succeeds.

DRV_OPEN

This message requests a driver to be opened. Drivers are opened for many reasons. The most common reason is preparation for data conversion. Your driver must be able to handle multiple open-driver instances correctly. Multiple streams can and will be opened on a single driver instance. Do not store and/or create instance data that is unique to a stream.

See Also

Reference

Audio Compression Manager Driver Reference
ACM Driver Functions
ACM Driver Structures