Index   Commented   Search   About

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.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun