carb::audio::fContextFlagManualStop

Defined in carb/audio/IAudioPlayback.h

constexpr PlaybackContextFlags carb::audio::fContextFlagManualStop = 0x00000004

flag to indicate that the audio processing engine will be manually stopped when a baking task is complete instead of stopping it when all of the input voices run out of data to process.

This flag is ignored if the fContextFlagBaking flag is not used. If this flag is not used, the intention for the context is to queue an initial set of sounds to play on voices before starting the processing engine with startProcessing(). Once all triggered voices are complete, the engine will stop automatically. When this flag is used, the intention is that the processing engine will stay running, producing silence, even if no voices are currently playing. The caller will be expected to make a call to stopProcessing() at some point when the engine no longer needs to be running.