From: Takashi Iwai Date: Wed, 20 Apr 2005 14:28:27 +0000 (+0000) Subject: Make surround config backward compatible X-Git-Tag: v1.0.9rc3~4 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=062df69f0071d404078d4e12341d5173acceef8d;p=alsa-lib.git Make surround config backward compatible Make hooks for surround config backward compatible with the older drivers (without "Channel Mode" control). --- diff --git a/src/conf/cards/ATIIXP-SPDMA.conf b/src/conf/cards/ATIIXP-SPDMA.conf index 24bf5048..dbed4a0c 100644 --- a/src/conf/cards/ATIIXP-SPDMA.conf +++ b/src/conf/cards/ATIIXP-SPDMA.conf @@ -60,6 +60,13 @@ ATIIXP-SPDMA.pcm.surround40.0 { lock true optional true } + # for old drivers + { + name "Line-In As Surround" + preserve true + value true + optional true + } { name "Surround Down Mix" preserve true @@ -96,6 +103,19 @@ ATIIXP-SPDMA.pcm.surround51.0 { lock true optional true } + # for old drivers + { + name "Line-In As Surround" + preserve true + value true + optional true + } + { + name "Mic As Center/LFE" + preserve true + value true + optional true + } { name "Surround Down Mix" preserve true diff --git a/src/conf/cards/ATIIXP.conf b/src/conf/cards/ATIIXP.conf index 57a168df..3aee38ba 100644 --- a/src/conf/cards/ATIIXP.conf +++ b/src/conf/cards/ATIIXP.conf @@ -60,6 +60,13 @@ ATIIXP.pcm.surround40.0 { lock true optional true } + # for old drivers + { + name "Line-In As Surround" + preserve true + value true + optional true + } { name "Surround Down Mix" preserve true @@ -96,6 +103,19 @@ ATIIXP.pcm.surround51.0 { lock true optional true } + # for old drivers + { + name "Line-In As Surround" + preserve true + value true + optional true + } + { + name "Mic As Center/LFE" + preserve true + value true + optional true + } { name "Surround Down Mix" preserve true diff --git a/src/conf/cards/ICH.conf b/src/conf/cards/ICH.conf index 165605b8..a48268b5 100644 --- a/src/conf/cards/ICH.conf +++ b/src/conf/cards/ICH.conf @@ -76,6 +76,13 @@ ICH.pcm.surround40.0 { lock true optional true } + # for old drivers + { + name "Line-In As Surround" + preserve true + value true + optional true + } { name "Surround Down Mix" preserve true @@ -127,6 +134,19 @@ ICH.pcm.surround51.0 { lock true optional true } + # for old drivers + { + name "Line-In As Surround" + preserve true + value true + optional true + } + { + name "Mic As Center/LFE" + preserve true + value true + optional true + } { name "Surround Down Mix" preserve true diff --git a/src/conf/cards/ICH4.conf b/src/conf/cards/ICH4.conf index 4858614f..ddcd7c9d 100644 --- a/src/conf/cards/ICH4.conf +++ b/src/conf/cards/ICH4.conf @@ -76,6 +76,13 @@ ICH4.pcm.surround40.0 { lock true optional true } + # for old drivers + { + name "Line-In As Surround" + preserve true + value true + optional true + } { name "Surround Down Mix" preserve true @@ -119,6 +126,19 @@ ICH4.pcm.surround51.0 { lock true optional true } + # for old drivers + { + name "Line-In As Surround" + preserve true + value true + optional true + } + { + name "Mic As Center/LFE" + preserve true + value true + optional true + } { name "Surround Down Mix" preserve true diff --git a/src/conf/cards/NFORCE.conf b/src/conf/cards/NFORCE.conf index 138d8687..607906e4 100644 --- a/src/conf/cards/NFORCE.conf +++ b/src/conf/cards/NFORCE.conf @@ -76,6 +76,13 @@ NFORCE.pcm.surround40.0 { lock true optional true } + # for old drivers + { + name "Line-In As Surround" + preserve true + value true + optional true + } { name "Surround Down Mix" preserve true @@ -127,6 +134,19 @@ NFORCE.pcm.surround51.0 { lock true optional true } + # for old drivers + { + name "Line-In As Surround" + preserve true + value true + optional true + } + { + name "Mic As Center/LFE" + preserve true + value true + optional true + } { name "Surround Down Mix" preserve true diff --git a/src/conf/cards/VIA8233.conf b/src/conf/cards/VIA8233.conf index 4d3d5c0d..b7a21aef 100644 --- a/src/conf/cards/VIA8233.conf +++ b/src/conf/cards/VIA8233.conf @@ -70,6 +70,13 @@ VIA8233.pcm.surround40.0 { lock true optional true } + # for old drivers + { + name "Line-In As Surround" + preserve true + value true + optional true + } { name "Surround Down Mix" device 0 @@ -108,6 +115,19 @@ VIA8233.pcm.surround51.0 { lock true optional true } + # for old drivers + { + name "Line-In As Surround" + preserve true + value true + optional true + } + { + name "Mic As Center/LFE" + preserve true + value true + optional true + } { name "Surround Down Mix" device 0 diff --git a/src/conf/cards/VIA8233A.conf b/src/conf/cards/VIA8233A.conf index 3b784356..ab0985ec 100644 --- a/src/conf/cards/VIA8233A.conf +++ b/src/conf/cards/VIA8233A.conf @@ -68,6 +68,13 @@ VIA8233A.pcm.surround40.0 { lock true optional true } + # for old drivers + { + name "Line-In As Surround" + preserve true + value true + optional true + } { name "Surround Down Mix" preserve true @@ -112,6 +119,19 @@ VIA8233A.pcm.surround51.0 { lock true optional true } + # for old drivers + { + name "Line-In As Surround" + preserve true + value true + optional true + } + { + name "Mic As Center/LFE" + preserve true + value true + optional true + } { name "Surround Down Mix" preserve true