Description
The AudioStream class is designed to allow simple low-latency gapless audio playback on Windows, even when the sample data being output isn't generated at a constant rate. Measures are taken to prevent audio artifacts that can occur from buffer underruns, and synchronization problems from sample data arriving too quickly or at a varying rate. See the overall description of the AudioStream library for further info.
Audio stream binding functions
| Name | Description | |
|---|---|---|
| Open |
Opens an audio output device and prepares it for playback
|
|
| Close |
Closes the previously opened audio output device
|
Buffer management functions
| Name | Description | |
|---|---|---|
| CreateAudioBuffer |
Creates an AudioBuffer object for supplying audio data
|
|
| DeleteAudioBuffer |
Deletes a previously allocated AudioBuffer object that has not been sent for playback
|
|
| PlayBuffer |
Places an AudioBuffer object in the list for playback. The buffer must not be accessed after this function is called, and the buffer is
deleted automatically when playback is complete.
|
Sample rate conversion functions
| Name | Description | |
|---|---|---|
| ConvertSampleRate |
Performs a high quality sample rate conversion on raw sample data from one sample rate to another
|