Preparing Audio Data Blocks

Before you pass an audio data block to a device driver, you must prepare the data block by passing it to a header-preparation function. When the device driver is finished with the data block and returns it, you must clean up this preparation by passing the data block to a header clean-up function before any allocated memory can be freed.

Windows provides the following functions for preparing and cleaning up audio data blocks.

Function
Description
midiInPrepareHeader
Prepares a MIDI-input data block.
midiInUnprepareHeader
Cleans up the preparation on a MIDI-input data block.
midiOutPrepareHeader
Prepares a MIDI-output data block.
midiOutUnprepareHeader
Cleans up the preparation on a MIDI-output data block.
waveInPrepareHeader
Prepares a waveform-input data block.
waveInUnprepareHeader
Cleans up the preparation on a waveform-input data block.
waveOutPrepareHeader
Prepares a waveform-output data block.
waveOutUnprepareHeader
Cleans up the preparation on a waveform-output data block.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database