carb::audio::OpusCodecUsage
Defined in carb/audio/IAudioData.h
-
enum class carb::audio::OpusCodecUsage
The intended usage for audio.
This is used to optimize the Opus encoding for certain applications.
Values:
-
enumerator eGeneral
General purpose codec usage.
Don’t optimize for any specific signal type.
-
enumerator eMusic
Optimize for the best possible reproduction of music.
-
enumerator eVoice
Optimize to ensure that speech is as recognizable as possible for a given bitrate.
This should be used for applications such as voice chat, which require a low bitrate to be used.
-
enumerator eGeneral