SoundFreeCommonBuffer

VOID
    SoundFreeCommonBuffer(

        IN OUT PSOUND_DMA_BUFFER SoundAutoData
        );

The SoundFreeCommonBuffer function frees a DMA buffer that was previously allocated by SoundGetCommonBuffer.

Parameters
SoundAutoData
Pointer to a SOUND_DMA_BUFFER structure.
Return Value

None.

Comments

The SoundFreeCommonBuffer function also frees the MDL associated with the buffer. (For information about MDLs, see the Kernel-Mode Drivers Design Guide.)

Drivers calling SoundFreeCommonBuffer must include wave.h.