MPMA Framework 0.4
|
Plays sound buffers. More...
Go to the source code of this file.
Classes | |
class | AUDIO::StaticBuffer |
Used to store static buffer data that can be re-used without having to re-read it from a source every time it is played. More... | |
class | AUDIO::Player |
Used to play sound buffers sources. More... | |
Namespaces | |
namespace | AUDIO |
Sound playback and streaming. | |
Enumerations | |
enum | AUDIO::RenderMode { AUDIO::POSITIONAL = 0x200, AUDIO::FIXED } |
Determines how the sound should be played back. More... | |
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.