Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[AE] Cosmetics and comments

  • Loading branch information...
commit 53e201e89aacda6f464d96e050bed869faaed88f 1 parent f61e2bf
@Karlson2k authored
Showing with 11 additions and 11 deletions.
  1. +11 −11 xbmc/cores/AudioEngine/Utils/AEChannelInfo.cpp
View
22 xbmc/cores/AudioEngine/Utils/AEChannelInfo.cpp
@@ -152,17 +152,17 @@ CAEChannelInfo& CAEChannelInfo::operator=(const enum AEStdChLayout rhs)
ASSERT(rhs > AE_CH_LAYOUT_INVALID && rhs < AE_CH_LAYOUT_MAX);
static enum AEChannel layouts[AE_CH_LAYOUT_MAX][9] = {
- {AE_CH_FC, AE_CH_NULL},
- {AE_CH_FL, AE_CH_FR, AE_CH_NULL},
- {AE_CH_FL, AE_CH_FR, AE_CH_LFE, AE_CH_NULL},
- {AE_CH_FL, AE_CH_FR, AE_CH_FC , AE_CH_NULL},
- {AE_CH_FL, AE_CH_FR, AE_CH_FC , AE_CH_LFE, AE_CH_NULL},
- {AE_CH_FL, AE_CH_FR, AE_CH_BL , AE_CH_BR , AE_CH_NULL},
- {AE_CH_FL, AE_CH_FR, AE_CH_BL , AE_CH_BR , AE_CH_LFE, AE_CH_NULL},
- {AE_CH_FL, AE_CH_FR, AE_CH_FC , AE_CH_BL , AE_CH_BR , AE_CH_NULL},
- {AE_CH_FL, AE_CH_FR, AE_CH_FC , AE_CH_LFE, AE_CH_SL , AE_CH_SR , AE_CH_NULL},
- {AE_CH_FL, AE_CH_FR, AE_CH_FC , AE_CH_BL , AE_CH_BR , AE_CH_SL , AE_CH_SR, AE_CH_NULL},
- {AE_CH_FL, AE_CH_FR, AE_CH_FC , AE_CH_BL , AE_CH_BR , AE_CH_SL , AE_CH_SR, AE_CH_LFE, AE_CH_NULL}
+ {AE_CH_FC, AE_CH_NULL}, // Mono
+ {AE_CH_FL, AE_CH_FR, AE_CH_NULL}, // Stereo
+ {AE_CH_FL, AE_CH_FR, AE_CH_LFE, AE_CH_NULL}, // 2.1
+ {AE_CH_FL, AE_CH_FR, AE_CH_FC, AE_CH_NULL}, // 3 front speakers
+ {AE_CH_FL, AE_CH_FR, AE_CH_FC, AE_CH_LFE, AE_CH_NULL}, // 3 front + LFE
+ {AE_CH_FL, AE_CH_FR, AE_CH_BL, AE_CH_BR, AE_CH_NULL}, // Quad
+ {AE_CH_FL, AE_CH_FR, AE_CH_LFE, AE_CH_BL, AE_CH_BR, AE_CH_NULL}, // Quad + LFE
+ {AE_CH_FL, AE_CH_FR, AE_CH_FC, AE_CH_SL, AE_CH_SR, AE_CH_NULL}, // 5.0
+ {AE_CH_FL, AE_CH_FR, AE_CH_FC, AE_CH_LFE, AE_CH_SL, AE_CH_SR, AE_CH_NULL}, // Standard 5.1
+ {AE_CH_FL, AE_CH_FR, AE_CH_FC, AE_CH_SL, AE_CH_SR, AE_CH_BL, AE_CH_BR, AE_CH_NULL}, // 7.0
+ {AE_CH_FL, AE_CH_FR, AE_CH_FC, AE_CH_LFE, AE_CH_SL, AE_CH_SR, AE_CH_BL, AE_CH_BR, AE_CH_NULL} // Standard 7.1
};
*this = layouts[rhs];
Please sign in to comment.
Something went wrong with that request. Please try again.