|
Game Audio Module
A C++ audio system using miniaudio with Python bindings
|
Configuration for a random sound container. More...
#include <random_sound_container.h>
Public Attributes | |
| bool | avoidRepeat = true |
| Avoid playing the same sound twice in a row. | |
| GroupHandle | group = GroupHandle::Invalid() |
| Audio group to assign sounds to. | |
| float | maxDuration = 0.0f |
| Maximum duration in seconds (0 = no limit) | |
| float | pitchMax = 1.0f |
| Maximum pitch shift (1.0 = normal pitch) | |
| float | pitchMin = 1.0f |
| Minimum pitch shift (1.0 = normal pitch) | |
Configuration for a random sound container.
| bool audio::RandomSoundContainerConfig::avoidRepeat = true |
Avoid playing the same sound twice in a row.
| GroupHandle audio::RandomSoundContainerConfig::group = GroupHandle::Invalid() |
Audio group to assign sounds to.
| float audio::RandomSoundContainerConfig::maxDuration = 0.0f |
Maximum duration in seconds (0 = no limit)
| float audio::RandomSoundContainerConfig::pitchMax = 1.0f |
Maximum pitch shift (1.0 = normal pitch)
| float audio::RandomSoundContainerConfig::pitchMin = 1.0f |
Minimum pitch shift (1.0 = normal pitch)