|
group2 0.1.0
CSE 125 Group 2
|
A single concurrent playback voice. More...
Public Attributes | |
| SDL_AudioStream * | stream = nullptr |
| Bound audio stream (nullptr = slot free). | |
| bool | active = false |
| SfxId | playingId = SfxId::_Count |
| Which sound this voice is playing. | |
| float | duration = 0.0f |
| Expected playback length in seconds. | |
| float | elapsed = 0.0f |
| Seconds since playback started. | |
A single concurrent playback voice.
| bool SfxSystem::Voice::active = false |
| float SfxSystem::Voice::duration = 0.0f |
Expected playback length in seconds.
| float SfxSystem::Voice::elapsed = 0.0f |
Seconds since playback started.
| SfxId SfxSystem::Voice::playingId = SfxId::_Count |
Which sound this voice is playing.
| SDL_AudioStream* SfxSystem::Voice::stream = nullptr |
Bound audio stream (nullptr = slot free).