|
group2 0.1.0
CSE 125 Group 2
|
A decoded sound clip ready for playback. More...
#include <SfxTypes.hpp>
Public Attributes | |
| std::vector< uint8_t > | pcmData |
| Raw PCM samples (S16LE, interleaved channels). | |
| SDL_AudioSpec | spec {} |
| Format descriptor matching pcmData. | |
| float | durationSeconds = 0.0f |
| Total playback duration in seconds. | |
| SfxCategory | category = SfxCategory::Weapons |
| float | defaultGain = 1.0f |
| Base volume for this clip. | |
| float | minCooldown = 0.05f |
| Minimum seconds between repeated plays. | |
| bool | loaded = false |
| True when the clip was decoded successfully. | |
A decoded sound clip ready for playback.
| SfxCategory SoundClip::category = SfxCategory::Weapons |
| float SoundClip::defaultGain = 1.0f |
Base volume for this clip.
| float SoundClip::durationSeconds = 0.0f |
Total playback duration in seconds.
| bool SoundClip::loaded = false |
True when the clip was decoded successfully.
| float SoundClip::minCooldown = 0.05f |
Minimum seconds between repeated plays.
| std::vector<uint8_t> SoundClip::pcmData |
Raw PCM samples (S16LE, interleaved channels).
| SDL_AudioSpec SoundClip::spec {} |
Format descriptor matching pcmData.