Implements a simple way for audio playback, through the use of SDL2_mixer.
It's simple to use, but very limited and will be deprecated. PixelPerfect.audio will implement a system for plugin-based audio playback, with MIDI 2.0 support.
Only one instance should be used.
Default CTOR.
Halts the playback on the specified channel.
Plays a sound sample from the bank at the specified channel. Can be looped.
The sound samples stored within this class.
See Implementation
Implements a simple way for audio playback, through the use of SDL2_mixer.
It's simple to use, but very limited and will be deprecated. PixelPerfect.audio will implement a system for plugin-based audio playback, with MIDI 2.0 support.
Only one instance should be used.