|
Maxmod
|
Functions | |
| void | mmStreamClose (void) |
| Close audio stream. | |
| mm_word | mmStreamGetPosition (void) |
| Get number of samples elapsed since the stream was opened. | |
| void | mmStreamOpen (mm_stream *stream) |
| Opens an audio stream. | |
| void | mmStreamUpdate (void) |
| Check buffering state and fill stream with data. | |
| mm_word mmStreamGetPosition | ( | void | ) |
Get number of samples elapsed since the stream was opened.
The 32-bit value will wrap every 36 hours or so (at 32khz).
| void mmStreamOpen | ( | mm_stream * | stream | ) |
Opens an audio stream.
See the tutorials for more information.
| stream | Pointer to a structure containing information about how the stream will operate. |
| void mmStreamUpdate | ( | void | ) |
Check buffering state and fill stream with data.
Requests will be made to your callback to fill parts of the wave buffer(s). This function only needs to be called manually if the stream isn't in auto-fill mode. This function shouldn't be used when the stream is automatically filled.