- Update alsa-info.sh to match dmesg with snd_ - Run spec-cleaner - Add missing Loopback.conf manually - Upstream fixes: minor clean ups, 2.1 PCM channel config support, portability improvements, PCM float format conversion fix, fix for ioplug 32bit hwptr wrap, etc. 0020-minor-malloc-changes.patch 0021-alsa-lib-minor-typo-in-pcm-doc.patch 0022-control_hw-fix-potential-memory-leak.patch 0023-pcm-initialize-pcm_dmix-monotonic-field.patch 0024-pcm-initialize-monotonic-field-for-dshare-and-dsnoop.patch 0025-pcm-use-CLOCK_REALTIME-for-non-monotonic-ts.patch 0026-alsa-lib-heavy-pcm-atomics-cleanup.patch 0027-conf-Add-basic-infrastructure-for-2.1-surround-sound.patch 0028-conf-Add-surround-2.1-support-to-all-cards.patch 0029-Portability-fix-look-for-sys-endian.h-as-well-as-end.patch 0030-autotools-update-style.patch 0031-pcm-Insert-linear-to-float-conversion-when-rate-or-c.patch 0032-pcm-route-Allow-chmap-syntax-for-slave-channels-in-t.patch 0033-pcm-route-Select-slave-chmap-based-on-ttable-informa.patch 0034-conf-Allow-2.1-surround-to-use-different-number-of-c.patch 0035-pcm-Wrap-hw_ptr-to-boundary-in-pcm_ioplug.patch 0036-src-conf-cards-Add-missing-entry-for-Loopback.conf.patch OBS-URL: https://build.opensuse.org/request/show/225572 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa?expand=0&rev=152
382 lines
12 KiB
Diff
382 lines
12 KiB
Diff
From 1af088e39b75a0a0897c7036487b143e983cd423 Mon Sep 17 00:00:00 2001
|
|
From: David Henningsson <david.henningsson@canonical.com>
|
|
Date: Tue, 18 Feb 2014 16:41:49 +0100
|
|
Subject: [PATCH] conf: Add surround 2.1 support to all cards
|
|
|
|
All cards that support 4.1 surround now also support 2.1 surround,
|
|
because they both have surround 5.1 as slave.
|
|
|
|
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
|
|
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
---
|
|
src/conf/cards/ATIIXP-SPDMA.conf | 1 +
|
|
src/conf/cards/ATIIXP.conf | 1 +
|
|
src/conf/cards/Audigy.conf | 1 +
|
|
src/conf/cards/Audigy2.conf | 1 +
|
|
src/conf/cards/Aureon51.conf | 1 +
|
|
src/conf/cards/Aureon71.conf | 1 +
|
|
src/conf/cards/CA0106.conf | 1 +
|
|
src/conf/cards/CMI8738-MC6.conf | 1 +
|
|
src/conf/cards/CMI8738-MC8.conf | 1 +
|
|
src/conf/cards/CMI8788.conf | 2 +-
|
|
src/conf/cards/CS46xx.conf | 1 +
|
|
src/conf/cards/EMU10K1.conf | 1 +
|
|
src/conf/cards/EMU10K1X.conf | 1 +
|
|
src/conf/cards/FM801.conf | 1 +
|
|
src/conf/cards/FireWave.conf | 1 +
|
|
src/conf/cards/HDA-Intel.conf | 1 +
|
|
src/conf/cards/ICE1712.conf | 1 +
|
|
src/conf/cards/ICE1724.conf | 1 +
|
|
src/conf/cards/ICH.conf | 1 +
|
|
src/conf/cards/ICH4.conf | 1 +
|
|
src/conf/cards/Loopback.conf | 1 +
|
|
src/conf/cards/NFORCE.conf | 1 +
|
|
src/conf/cards/SB-XFi.conf | 1 +
|
|
src/conf/cards/SI7018.conf | 1 +
|
|
src/conf/cards/USB-Audio.conf | 1 +
|
|
src/conf/cards/VIA8233.conf | 1 +
|
|
src/conf/cards/VIA8233A.conf | 1 +
|
|
src/conf/cards/VIA8237.conf | 1 +
|
|
28 files changed, 28 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/conf/cards/ATIIXP-SPDMA.conf b/src/conf/cards/ATIIXP-SPDMA.conf
|
|
index 5c80815ddaf6..42540d6817c0 100644
|
|
--- a/src/conf/cards/ATIIXP-SPDMA.conf
|
|
+++ b/src/conf/cards/ATIIXP-SPDMA.conf
|
|
@@ -77,6 +77,7 @@ ATIIXP-SPDMA.pcm.surround40.0 {
|
|
}
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/ATIIXP.conf b/src/conf/cards/ATIIXP.conf
|
|
index 38d802345bfb..c4d33ef34a68 100644
|
|
--- a/src/conf/cards/ATIIXP.conf
|
|
+++ b/src/conf/cards/ATIIXP.conf
|
|
@@ -77,6 +77,7 @@ ATIIXP.pcm.surround40.0 {
|
|
}
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/Audigy.conf b/src/conf/cards/Audigy.conf
|
|
index 4fe387327633..1c92496653e0 100644
|
|
--- a/src/conf/cards/Audigy.conf
|
|
+++ b/src/conf/cards/Audigy.conf
|
|
@@ -143,6 +143,7 @@ Audigy.pcm.center_lfe.0 {
|
|
}
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround40.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
diff --git a/src/conf/cards/Audigy2.conf b/src/conf/cards/Audigy2.conf
|
|
index db45776e54c4..cbec78358882 100644
|
|
--- a/src/conf/cards/Audigy2.conf
|
|
+++ b/src/conf/cards/Audigy2.conf
|
|
@@ -195,6 +195,7 @@ Audigy2.pcm.side.0 {
|
|
}
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround40.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
diff --git a/src/conf/cards/Aureon51.conf b/src/conf/cards/Aureon51.conf
|
|
index 24b4d949174b..07be4a77aa12 100644
|
|
--- a/src/conf/cards/Aureon51.conf
|
|
+++ b/src/conf/cards/Aureon51.conf
|
|
@@ -86,6 +86,7 @@ Aureon51.pcm.surround40.0 {
|
|
channels 4
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/Aureon71.conf b/src/conf/cards/Aureon71.conf
|
|
index 1479c25cce21..a43ce2cee5fa 100644
|
|
--- a/src/conf/cards/Aureon71.conf
|
|
+++ b/src/conf/cards/Aureon71.conf
|
|
@@ -86,6 +86,7 @@ Aureon71.pcm.surround40.0 {
|
|
channels 4
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/CA0106.conf b/src/conf/cards/CA0106.conf
|
|
index 9d21770f84ad..2f0eaf0afdc8 100644
|
|
--- a/src/conf/cards/CA0106.conf
|
|
+++ b/src/conf/cards/CA0106.conf
|
|
@@ -108,6 +108,7 @@ CA0106.pcm.surround40.0 {
|
|
]
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/CMI8738-MC6.conf b/src/conf/cards/CMI8738-MC6.conf
|
|
index 171c772809ab..edc67d44d96a 100644
|
|
--- a/src/conf/cards/CMI8738-MC6.conf
|
|
+++ b/src/conf/cards/CMI8738-MC6.conf
|
|
@@ -77,6 +77,7 @@ CMI8738-MC6.pcm.surround40.0 {
|
|
}
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/CMI8738-MC8.conf b/src/conf/cards/CMI8738-MC8.conf
|
|
index a5bf6cb4889a..ddff75304bc3 100644
|
|
--- a/src/conf/cards/CMI8738-MC8.conf
|
|
+++ b/src/conf/cards/CMI8738-MC8.conf
|
|
@@ -105,6 +105,7 @@ CMI8738-MC8.pcm.surround40.0 {
|
|
}
|
|
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/CMI8788.conf b/src/conf/cards/CMI8788.conf
|
|
index 0ca71e9d28de..edcb0c9ccc36 100644
|
|
--- a/src/conf/cards/CMI8788.conf
|
|
+++ b/src/conf/cards/CMI8788.conf
|
|
@@ -48,7 +48,7 @@ CMI8788.pcm.surround40.0 {
|
|
channels 4
|
|
}
|
|
|
|
-
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/CS46xx.conf b/src/conf/cards/CS46xx.conf
|
|
index 1983142548fd..b71c30aad514 100644
|
|
--- a/src/conf/cards/CS46xx.conf
|
|
+++ b/src/conf/cards/CS46xx.conf
|
|
@@ -112,6 +112,7 @@ CS46xx.pcm.surround40.0 {
|
|
]
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/EMU10K1.conf b/src/conf/cards/EMU10K1.conf
|
|
index d51f6dc02fac..ef193fe0c460 100644
|
|
--- a/src/conf/cards/EMU10K1.conf
|
|
+++ b/src/conf/cards/EMU10K1.conf
|
|
@@ -217,6 +217,7 @@ EMU10K1.pcm.surround40.0 {
|
|
]
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/EMU10K1X.conf b/src/conf/cards/EMU10K1X.conf
|
|
index b5fc708c4cb2..f742863679cb 100644
|
|
--- a/src/conf/cards/EMU10K1X.conf
|
|
+++ b/src/conf/cards/EMU10K1X.conf
|
|
@@ -96,6 +96,7 @@ EMU10K1X.pcm.surround40.0 {
|
|
]
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/FM801.conf b/src/conf/cards/FM801.conf
|
|
index 997b2184f38c..0ddf799cd029 100644
|
|
--- a/src/conf/cards/FM801.conf
|
|
+++ b/src/conf/cards/FM801.conf
|
|
@@ -40,6 +40,7 @@ FM801.pcm.default {
|
|
|
|
FM801.pcm.surround40.0 "cards.FM801.pcm.front.0"
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/FireWave.conf b/src/conf/cards/FireWave.conf
|
|
index 63fb23d96bc0..fcfc83ccfb19 100644
|
|
--- a/src/conf/cards/FireWave.conf
|
|
+++ b/src/conf/cards/FireWave.conf
|
|
@@ -25,6 +25,7 @@ FireWave.pcm.front.0 {
|
|
card $CARD
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/HDA-Intel.conf b/src/conf/cards/HDA-Intel.conf
|
|
index 7976b6c52ee9..fa9f6946376f 100644
|
|
--- a/src/conf/cards/HDA-Intel.conf
|
|
+++ b/src/conf/cards/HDA-Intel.conf
|
|
@@ -71,6 +71,7 @@ HDA-Intel.pcm.default {
|
|
hint.device 0
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround40.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
diff --git a/src/conf/cards/ICE1712.conf b/src/conf/cards/ICE1712.conf
|
|
index f5b8add6322c..398fa7ad5307 100644
|
|
--- a/src/conf/cards/ICE1712.conf
|
|
+++ b/src/conf/cards/ICE1712.conf
|
|
@@ -74,6 +74,7 @@ ICE1712.pcm.surround40.0 {
|
|
slave.channels 10
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/ICE1724.conf b/src/conf/cards/ICE1724.conf
|
|
index e806b36d92a1..61cac0132f07 100644
|
|
--- a/src/conf/cards/ICE1724.conf
|
|
+++ b/src/conf/cards/ICE1724.conf
|
|
@@ -95,6 +95,7 @@ ICE1724.pcm.surround40.0 {
|
|
}
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/ICH.conf b/src/conf/cards/ICH.conf
|
|
index 47ffef96531c..6fc9a5a236c1 100644
|
|
--- a/src/conf/cards/ICH.conf
|
|
+++ b/src/conf/cards/ICH.conf
|
|
@@ -98,6 +98,7 @@ ICH.pcm.surround40.0 {
|
|
}
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/ICH4.conf b/src/conf/cards/ICH4.conf
|
|
index 1bf5605bfd7f..64ec883d9c73 100644
|
|
--- a/src/conf/cards/ICH4.conf
|
|
+++ b/src/conf/cards/ICH4.conf
|
|
@@ -98,6 +98,7 @@ ICH4.pcm.surround40.0 {
|
|
}
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/Loopback.conf b/src/conf/cards/Loopback.conf
|
|
index 5365fa1bec52..974aa7535340 100644
|
|
--- a/src/conf/cards/Loopback.conf
|
|
+++ b/src/conf/cards/Loopback.conf
|
|
@@ -63,6 +63,7 @@ Loopback.pcm.default {
|
|
hint.device 0
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround40.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
diff --git a/src/conf/cards/NFORCE.conf b/src/conf/cards/NFORCE.conf
|
|
index 6ebefe3da29e..64d15479291b 100644
|
|
--- a/src/conf/cards/NFORCE.conf
|
|
+++ b/src/conf/cards/NFORCE.conf
|
|
@@ -98,6 +98,7 @@ NFORCE.pcm.surround40.0 {
|
|
}
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/SB-XFi.conf b/src/conf/cards/SB-XFi.conf
|
|
index 38d0027fb4f2..eb2218bfdcc7 100644
|
|
--- a/src/conf/cards/SB-XFi.conf
|
|
+++ b/src/conf/cards/SB-XFi.conf
|
|
@@ -53,6 +53,7 @@ SB-XFi.pcm.side.0 {
|
|
hint.device 3
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround40.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
diff --git a/src/conf/cards/SI7018.conf b/src/conf/cards/SI7018.conf
|
|
index 7417bd5bf2e4..02b8fc877ff3 100644
|
|
--- a/src/conf/cards/SI7018.conf
|
|
+++ b/src/conf/cards/SI7018.conf
|
|
@@ -78,6 +78,7 @@ SI7018.pcm.surround40.0 {
|
|
]
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/USB-Audio.conf b/src/conf/cards/USB-Audio.conf
|
|
index 8a6d9cac6ead..ce3ae019f7f6 100644
|
|
--- a/src/conf/cards/USB-Audio.conf
|
|
+++ b/src/conf/cards/USB-Audio.conf
|
|
@@ -314,6 +314,7 @@ USB-Audio.pcm.surround40_two_stereo_devices {
|
|
}
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/VIA8233.conf b/src/conf/cards/VIA8233.conf
|
|
index 668bfd9e421b..9ad321f713a9 100644
|
|
--- a/src/conf/cards/VIA8233.conf
|
|
+++ b/src/conf/cards/VIA8233.conf
|
|
@@ -86,6 +86,7 @@ VIA8233.pcm.surround40.0 {
|
|
}
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/VIA8233A.conf b/src/conf/cards/VIA8233A.conf
|
|
index 97d2a7daf335..679fccf3d06f 100644
|
|
--- a/src/conf/cards/VIA8233A.conf
|
|
+++ b/src/conf/cards/VIA8233A.conf
|
|
@@ -84,6 +84,7 @@ VIA8233A.pcm.surround40.0 {
|
|
}
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
diff --git a/src/conf/cards/VIA8237.conf b/src/conf/cards/VIA8237.conf
|
|
index 404e19075cbd..29d8e00f6601 100644
|
|
--- a/src/conf/cards/VIA8237.conf
|
|
+++ b/src/conf/cards/VIA8237.conf
|
|
@@ -79,6 +79,7 @@ VIA8237.pcm.surround40.0 {
|
|
}
|
|
}
|
|
|
|
+<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
--
|
|
1.9.0
|
|
|