carb::audio::makeSpeakerFlag

Defined in carb/audio/AudioTypes.h

constexpr SpeakerMode carb::audio::makeSpeakerFlag(size_t s)

a conversion function from a Speaker enum to bitflags.

Parameters

s[in] The speaker enum to convert to a bitflag.

Returns

The corresponding speaker flag.