|
coastline 0.0.4
|
Mixer channels, XM storage, and synchronisation for one SDL audio session. More...
#include <music.h>
Public Member Functions | |
| N64MixerContext () | |
| Register the sole mixer context. | |
| ~N64MixerContext () | |
| Unregister the mixer after all audio players and locks have been destroyed. | |
| N64MixerContext (const N64MixerContext &)=delete | |
| Prevent copying the registered mixer and its synchronisation resources. | |
| N64MixerContext & | operator= (const N64MixerContext &)=delete |
| Prevent assignment of the registered mixer and its synchronisation resources. | |
Mixer channels, XM storage, and synchronisation for one SDL audio session.
| coastline::N64MixerContext::N64MixerContext | ( | ) |
Register the sole mixer context.
Another context must not already be active.
| std::runtime_error | If mutex creation or context registration fails. |
| coastline::N64MixerContext::~N64MixerContext | ( | ) |
Unregister the mixer after all audio players and locks have been destroyed.
|
delete |
Prevent copying the registered mixer and its synchronisation resources.
|
delete |
Prevent assignment of the registered mixer and its synchronisation resources.