carb::audio::Speaker

Defined in carb/audio/AudioTypes.h

enum class carb::audio::Speaker

speaker names.

Speakers are virtually located on the unit circle with the listener at the fSpeakerFlagFrontCenter. Speaker angles are relative to the positive Y axis (ie: forward from the listener). Angles increase in the clockwise direction. The top channels are located on the unit sphere at an inclination of 45 degrees. The channel order of these speakers is represented by the ordering of speakers in this enum (e.g. eSideLeft is after eBackLeft).

Values:

enumerator eFrontLeft

Front left speaker. Usually located at -45 degrees. Also used for left headphone.

enumerator eFrontRight

Front right speaker. Usually located at 45 degrees. Also used for right headphone.

enumerator eFrontCenter

Front center speaker. Usually located at 0 degrees.

enumerator eLowFrequencyEffect

Low frequency effect speaker (subwoofer). Usually treated as if it is located at the listener.

enumerator eBackLeft

Back left speaker. Usually located at -135 degrees.

enumerator eBackRight

Back right speaker. Usually located at 135 degrees.

enumerator eBackCenter

Back center speaker. Usually located at 180 degrees.

enumerator eSideLeft

Side left speaker. Usually located at -90 degrees.

enumerator eSideRight

Side right speaker. Usually located at 90 degrees.

enumerator eTopFrontLeft

Top front left speaker. Usually located at -45 degrees and raised vertically.

enumerator eTopFrontRight

Top front right speaker. Usually located at 45 degrees and raised vertically.

enumerator eTopBackLeft

Top back left speaker. Usually located at -135 degrees and raised vertically.

enumerator eTopBackRight

Top back right speaker. Usually located at 135 degrees and raised vertically.

enumerator eFrontLeftWide

Front left wide speaker. Usually located at -60 degrees.

enumerator eFrontRightWide

Front left wide speaker. Usually located at 60 degrees.

enumerator eTopLeft

Top left speaker. Usually located at -90 degrees and raised vertically.

enumerator eTopRight

Top right speaker. Usually located at 90 degrees and raised vertically.

enumerator eCount

Total number of named speakers. This is not a valid speaker name.