mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
e2a4295844
The patch previously was fetched from an Arch Linux contributor but is no longer available there anymore. So, this is only an intermediate fix until channels get updated (very soon I hope, even though chromium 25 could get quite messy). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
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));
|