#include <sound.h>
Public Attributes | |
| Audio::SoundHandle | handle |
| SndHandleType | type |
| uint | samplesPerSecond |
| uint16 | id |
Tracks one mixer playback instance created by Mohawk::Sound.
The sound manager reuses an entry after its mixer handle becomes inactive. Resource identity and sample rate are retained separately because the mixer handle does not expose the Mohawk SND ID or a source-frame position.
| Audio::SoundHandle Mohawk::SndHandle::handle |
Mixer handle used to stop the instance and query its playback state.
| SndHandleType Mohawk::SndHandle::type |
Allocation state of this entry in Mohawk::Sound::_handles.
| uint Mohawk::SndHandle::samplesPerSecond |
Source sample rate used to convert elapsed milliseconds to sample frames.
| uint16 Mohawk::SndHandle::id |
Mohawk SND resource ID associated with the active mixer instance.