12 lines
657 B
Diff
12 lines
657 B
Diff
|
--- chromium-build/media/audio/pulse/pulse_output.cc.orig 2012-10-26 09:44:38.509209905 -0700
|
||
|
+++ chromium-build/media/audio/pulse/pulse_output.cc 2012-10-26 09:45:32.178819603 -0700
|
||
|
@@ -86,7 +86,7 @@
|
||
|
|
||
|
// All channel maps have the same size array of channel positions.
|
||
|
for (unsigned int channel = 0; channel != CHANNELS_MAX; ++channel) {
|
||
|
- int channel_position = kChannelOrderings[channel_layout][channel];
|
||
|
+ int channel_position = ChannelOrder(channel_layout, static_cast<Channels>(channel));
|
||
|
if (channel_position > -1) {
|
||
|
channel_map.map[channel_position] = ChromiumToPAChannelPosition(
|
||
|
static_cast<Channels>(channel));
|