carb::audio::fGroupFlagFixedSeed
Defined in carb/audio/IAudioGroup.h
-
constexpr GroupFlags carb::audio::fGroupFlagFixedSeed = 0x00000001
group creation flag to indicate that the random number generator for the group should be seeded with a fixed constant instead of another random value.
This will cause the group’s random number sequence to be repeatable on each run instead of random. Note that the constant seed may be platform or implementation dependent. This is useful for tests where a stable but non-consecutive sequence is needed. Note that each group has its own random number stream and choosing a random sound from one group will not affect the random number stream of any other group.