Using the DART Interface
To read and write audio data directly to the mixer device using the DART
interface, the application does the following:
- Opens the mixer device with MCI_OPEN
- Initializes the mixer to use DART with MCI_MIX_SETUP
- Allocates memory buffers with MCI_BUFFER
- Uses function pointers to read and write data
from the audio device
- Uses MCI_STATUS_POSITION for precision timing
- Controls data transfer with MCI_PAUSE, MCI_RESUME,
MCI_STOP
- Deallocates memory buffers with MCI_BUFFER
- Closes the mixer device with MCI_CLOSE
[Back: Direct Audio RouTines (DART) Interface]
[Next: Setting Up the Mixer]