Data Transfer Using the Audio Compression Manager
If the Audio Compression Manager (ACM) is involved in the transfer, the data transfer model is as follows:
- The client allocates the memory for the source and destination buffers. The ACMDM_STREAM_PREPARE message prepares the buffers.
- The client sends both source and destination data blocks to the driver.
- The driver processes the data blocks.
- The driver (codec) returns the data to the client. The ACMDM_STREAM_UNPREPARE message releases the buffers, reversing the preparations made earlier by the ACMDM_STREAM_PREPARE message.
- The client then frees the memory for both data blocks.