mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
Make surround config backward compatible
Make hooks for surround config backward compatible with the older drivers (without "Channel Mode" control).
This commit is contained in:
parent
87ec7df91d
commit
062df69f00
7 changed files with 140 additions and 0 deletions
|
|
@ -60,6 +60,13 @@ ATIIXP-SPDMA.pcm.surround40.0 {
|
||||||
lock true
|
lock true
|
||||||
optional true
|
optional true
|
||||||
}
|
}
|
||||||
|
# for old drivers
|
||||||
|
{
|
||||||
|
name "Line-In As Surround"
|
||||||
|
preserve true
|
||||||
|
value true
|
||||||
|
optional true
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name "Surround Down Mix"
|
name "Surround Down Mix"
|
||||||
preserve true
|
preserve true
|
||||||
|
|
@ -96,6 +103,19 @@ ATIIXP-SPDMA.pcm.surround51.0 {
|
||||||
lock true
|
lock true
|
||||||
optional 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"
|
name "Surround Down Mix"
|
||||||
preserve true
|
preserve true
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,13 @@ ATIIXP.pcm.surround40.0 {
|
||||||
lock true
|
lock true
|
||||||
optional true
|
optional true
|
||||||
}
|
}
|
||||||
|
# for old drivers
|
||||||
|
{
|
||||||
|
name "Line-In As Surround"
|
||||||
|
preserve true
|
||||||
|
value true
|
||||||
|
optional true
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name "Surround Down Mix"
|
name "Surround Down Mix"
|
||||||
preserve true
|
preserve true
|
||||||
|
|
@ -96,6 +103,19 @@ ATIIXP.pcm.surround51.0 {
|
||||||
lock true
|
lock true
|
||||||
optional 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"
|
name "Surround Down Mix"
|
||||||
preserve true
|
preserve true
|
||||||
|
|
|
||||||
|
|
@ -76,6 +76,13 @@ ICH.pcm.surround40.0 {
|
||||||
lock true
|
lock true
|
||||||
optional true
|
optional true
|
||||||
}
|
}
|
||||||
|
# for old drivers
|
||||||
|
{
|
||||||
|
name "Line-In As Surround"
|
||||||
|
preserve true
|
||||||
|
value true
|
||||||
|
optional true
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name "Surround Down Mix"
|
name "Surround Down Mix"
|
||||||
preserve true
|
preserve true
|
||||||
|
|
@ -127,6 +134,19 @@ ICH.pcm.surround51.0 {
|
||||||
lock true
|
lock true
|
||||||
optional 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"
|
name "Surround Down Mix"
|
||||||
preserve true
|
preserve true
|
||||||
|
|
|
||||||
|
|
@ -76,6 +76,13 @@ ICH4.pcm.surround40.0 {
|
||||||
lock true
|
lock true
|
||||||
optional true
|
optional true
|
||||||
}
|
}
|
||||||
|
# for old drivers
|
||||||
|
{
|
||||||
|
name "Line-In As Surround"
|
||||||
|
preserve true
|
||||||
|
value true
|
||||||
|
optional true
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name "Surround Down Mix"
|
name "Surround Down Mix"
|
||||||
preserve true
|
preserve true
|
||||||
|
|
@ -119,6 +126,19 @@ ICH4.pcm.surround51.0 {
|
||||||
lock true
|
lock true
|
||||||
optional 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"
|
name "Surround Down Mix"
|
||||||
preserve true
|
preserve true
|
||||||
|
|
|
||||||
|
|
@ -76,6 +76,13 @@ NFORCE.pcm.surround40.0 {
|
||||||
lock true
|
lock true
|
||||||
optional true
|
optional true
|
||||||
}
|
}
|
||||||
|
# for old drivers
|
||||||
|
{
|
||||||
|
name "Line-In As Surround"
|
||||||
|
preserve true
|
||||||
|
value true
|
||||||
|
optional true
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name "Surround Down Mix"
|
name "Surround Down Mix"
|
||||||
preserve true
|
preserve true
|
||||||
|
|
@ -127,6 +134,19 @@ NFORCE.pcm.surround51.0 {
|
||||||
lock true
|
lock true
|
||||||
optional 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"
|
name "Surround Down Mix"
|
||||||
preserve true
|
preserve true
|
||||||
|
|
|
||||||
|
|
@ -70,6 +70,13 @@ VIA8233.pcm.surround40.0 {
|
||||||
lock true
|
lock true
|
||||||
optional true
|
optional true
|
||||||
}
|
}
|
||||||
|
# for old drivers
|
||||||
|
{
|
||||||
|
name "Line-In As Surround"
|
||||||
|
preserve true
|
||||||
|
value true
|
||||||
|
optional true
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name "Surround Down Mix"
|
name "Surround Down Mix"
|
||||||
device 0
|
device 0
|
||||||
|
|
@ -108,6 +115,19 @@ VIA8233.pcm.surround51.0 {
|
||||||
lock true
|
lock true
|
||||||
optional 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"
|
name "Surround Down Mix"
|
||||||
device 0
|
device 0
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,13 @@ VIA8233A.pcm.surround40.0 {
|
||||||
lock true
|
lock true
|
||||||
optional true
|
optional true
|
||||||
}
|
}
|
||||||
|
# for old drivers
|
||||||
|
{
|
||||||
|
name "Line-In As Surround"
|
||||||
|
preserve true
|
||||||
|
value true
|
||||||
|
optional true
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name "Surround Down Mix"
|
name "Surround Down Mix"
|
||||||
preserve true
|
preserve true
|
||||||
|
|
@ -112,6 +119,19 @@ VIA8233A.pcm.surround51.0 {
|
||||||
lock true
|
lock true
|
||||||
optional 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"
|
name "Surround Down Mix"
|
||||||
preserve true
|
preserve true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue