|
Game Audio Module
A C++ audio system using miniaudio with Python bindings
|
Represents a single instance of a playing sound. More...
#include <sound.h>
Public Member Functions | |
| SoundInstance () | |
| Constructor. | |
| ~SoundInstance () | |
| Destructor. | |
Public Attributes | |
| bool | finished |
| Flag indicating if this instance has finished playing. | |
| ma_sound * | sound |
| Pointer to miniaudio sound. | |
Represents a single instance of a playing sound.
Since sounds can be played multiple times simultaneously, each playback is represented by a SoundInstance object.
| audio::SoundInstance::SoundInstance | ( | ) |
Constructor.
| audio::SoundInstance::~SoundInstance | ( | ) |
Destructor.
Cleans up miniaudio resources
| bool audio::SoundInstance::finished |
Flag indicating if this instance has finished playing.
| ma_sound* audio::SoundInstance::sound |
Pointer to miniaudio sound.