get_force_on_playback_mode_flags#

carb.audio.get_force_on_playback_mode_flags(flags: int) int#

Retrieves a set of default playback mode flags that will behave as ‘force on’ behavior.

Args:

flags: The set of `PLAYBACK_MODE_DEFAULT_*` flags to use as ‘force on’ flags.

Returns:

The corresponding ‘force on’ flags for the input flags. These are suitable for setting in the context parameters’ default playback mode value. These should not be used in the voice parameter block’s playback mode value - this will lead to unexpected behavior.