]>
Commit | Line | Data |
---|---|---|
126ea630 ER |
1 | retrievad from google cache of |
2 | http://archrepo.jeago.com/sources/chromium-dev/pulse_audio_fix.patch | |
3 | ||
4 | --- chromium-build/media/audio/pulse/pulse_output.cc.orig 2012-10-26 09:44:38.509209905 -0700 | |
5 | +++ chromium-build/media/audio/pulse/pulse_output.cc 2012-10-26 09:45:32.178819603 -0700 | |
6 | @@ -86,7 +86,7 @@ | |
7 | ||
8 | // All channel maps have the same size array of channel positions. | |
9 | for (unsigned int channel = 0; channel != CHANNELS_MAX; ++channel) { | |
10 | - int channel_position = kChannelOrderings[channel_layout][channel]; | |
11 | + int channel_position = ChannelOrder(channel_layout, static_cast<Channels>(channel)); | |
12 | if (channel_position > -1) { | |
13 | channel_map.map[channel_position] = ChromiumToPAChannelPosition( | |
14 | static_cast<Channels>(channel)); |