MPMA Framework 0.4
|
Plays sound buffers. More...
Namespaces | |
namespace | AUDIO |
Sound playback and streaming. | |
Functions | |
void | AUDIO::SetBackgroundStreaming (bool enable) |
If enabled (default), streams will be refilled by a worker thread as needed. If disabled, the application must explicitely call UpdateStreams frequently enough that streaming buffers do not run out of data. | |
uint32 | AUDIO::UpdateStreams () |
If background streaming is enabled, this forces the background thread to wake up and run immediately (but does not block to wait for it to do anything) then returns 0. If background streaming is not enabled, this refills all streaming sound buffers and then returns the approximate number of milliseconds until any more buffer data can be queued. |
Plays sound buffers.