mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-17 08:56:45 -05:00
Use dmix/dsnoop for default PCM
Use dmix/dsnoop plugins for default PCM in most of mobo chips
This commit is contained in:
parent
9309430ae8
commit
33d9449c71
18 changed files with 327 additions and 36 deletions
|
|
@ -14,6 +14,29 @@ ATIIXP-SPDMA.pcm.front.0 {
|
||||||
device 0
|
device 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# default with dmix/dsnoop
|
||||||
|
ATIIXP.pcm.default {
|
||||||
|
@args [ CARD ]
|
||||||
|
@args.CARD {
|
||||||
|
type integer
|
||||||
|
}
|
||||||
|
type asym
|
||||||
|
playback.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dmix:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
capture.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dsnoop:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<confdir:pcm/surround40.conf>
|
<confdir:pcm/surround40.conf>
|
||||||
|
|
||||||
ATIIXP-SPDMA.pcm.surround40.0 {
|
ATIIXP-SPDMA.pcm.surround40.0 {
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,29 @@ ATIIXP.pcm.front.0 {
|
||||||
device 0
|
device 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# default with dmix/dsnoop
|
||||||
|
ATIIXP.pcm.default {
|
||||||
|
@args [ CARD ]
|
||||||
|
@args.CARD {
|
||||||
|
type integer
|
||||||
|
}
|
||||||
|
type asym
|
||||||
|
playback.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dmix:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
capture.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dsnoop:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<confdir:pcm/surround40.conf>
|
<confdir:pcm/surround40.conf>
|
||||||
|
|
||||||
ATIIXP.pcm.surround40.0 {
|
ATIIXP.pcm.surround40.0 {
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,8 @@ Azalia.pcm.front.0 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# with dmix?
|
# default with dmix+softvol & dsnoop
|
||||||
Azalia.pcm.default {
|
HDA-Intel.pcm.default {
|
||||||
@args [ CARD ]
|
@args [ CARD ]
|
||||||
@args.CARD {
|
@args.CARD {
|
||||||
type integer
|
type integer
|
||||||
|
|
@ -33,9 +33,8 @@ Azalia.pcm.default {
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type softvol
|
type softvol
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
@func concat
|
||||||
card $CARD
|
strings [ "dmix:" $CARD ]
|
||||||
device 0
|
|
||||||
}
|
}
|
||||||
control {
|
control {
|
||||||
name "PCM Playback Volume"
|
name "PCM Playback Volume"
|
||||||
|
|
@ -46,9 +45,8 @@ Azalia.pcm.default {
|
||||||
capture.pcm {
|
capture.pcm {
|
||||||
type plug
|
type plug
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
@func concat
|
||||||
card $CARD
|
strings [ "dsnoop:" $CARD ]
|
||||||
device 0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,29 @@ CMI8338-SWIEC.pcm.front.0 {
|
||||||
device 0
|
device 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# default with dmix/dsnoop
|
||||||
|
CMI8338-SWIEC.pcm.default {
|
||||||
|
@args [ CARD ]
|
||||||
|
@args.CARD {
|
||||||
|
type integer
|
||||||
|
}
|
||||||
|
type asym
|
||||||
|
playback.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dmix:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
capture.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dsnoop:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<confdir:pcm/rear.conf>
|
<confdir:pcm/rear.conf>
|
||||||
|
|
||||||
# 2nd DAC
|
# 2nd DAC
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,29 @@ CMI8338.pcm.front.0 {
|
||||||
device 0
|
device 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# default with dmix/dsnoop
|
||||||
|
CMI8338.pcm.default {
|
||||||
|
@args [ CARD ]
|
||||||
|
@args.CARD {
|
||||||
|
type integer
|
||||||
|
}
|
||||||
|
type asym
|
||||||
|
playback.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dmix:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
capture.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dsnoop:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<confdir:pcm/rear.conf>
|
<confdir:pcm/rear.conf>
|
||||||
|
|
||||||
# 2nd DAC
|
# 2nd DAC
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,29 @@ CMI8738-MC6.pcm.front.0 {
|
||||||
device 0
|
device 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# default with dmix/dsnoop
|
||||||
|
CMI8738-MC6.pcm.default {
|
||||||
|
@args [ CARD ]
|
||||||
|
@args.CARD {
|
||||||
|
type integer
|
||||||
|
}
|
||||||
|
type asym
|
||||||
|
playback.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dmix:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
capture.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dsnoop:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<confdir:pcm/rear.conf>
|
<confdir:pcm/rear.conf>
|
||||||
|
|
||||||
# 2nd DAC
|
# 2nd DAC
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,30 @@ CS46xx.pcm.front.0 {
|
||||||
device 0
|
device 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# default with plughw/dsnoop
|
||||||
|
# CS46xx supports multi-playback
|
||||||
|
CS46xx.pcm.default {
|
||||||
|
@args [ CARD ]
|
||||||
|
@args.CARD {
|
||||||
|
type integer
|
||||||
|
}
|
||||||
|
type asym
|
||||||
|
playback.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "hw:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
capture.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dsnoop:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<confdir:pcm/rear.conf>
|
<confdir:pcm/rear.conf>
|
||||||
|
|
||||||
CS46xx.pcm.rear.0 {
|
CS46xx.pcm.rear.0 {
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,29 @@ ENS1370.pcm.front.0 {
|
||||||
device 1
|
device 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# default with dmix/dsnoop
|
||||||
|
ENS1370.pcm.default {
|
||||||
|
@args [ CARD ]
|
||||||
|
@args.CARD {
|
||||||
|
type integer
|
||||||
|
}
|
||||||
|
type asym
|
||||||
|
playback.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dmix:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
capture.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dsnoop:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<confdir:pcm/rear.conf>
|
<confdir:pcm/rear.conf>
|
||||||
|
|
||||||
ENS1370.pcm.rear.0 {
|
ENS1370.pcm.rear.0 {
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,28 @@ ENS1371.pcm.front.0 {
|
||||||
device 0
|
device 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# default with dmix/dsnoop
|
||||||
|
ENS1371.pcm.default {
|
||||||
|
@args [ CARD ]
|
||||||
|
@args.CARD {
|
||||||
|
type integer
|
||||||
|
}
|
||||||
|
type asym
|
||||||
|
playback.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dmix:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
capture.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dsnoop:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<confdir:pcm/rear.conf>
|
<confdir:pcm/rear.conf>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,29 @@ FM801.pcm.front.0 {
|
||||||
device 0
|
device 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# default with dmix/dsnoop
|
||||||
|
FM801.pcm.default {
|
||||||
|
@args [ CARD ]
|
||||||
|
@args.CARD {
|
||||||
|
type integer
|
||||||
|
}
|
||||||
|
type asym
|
||||||
|
playback.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dmix:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
capture.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dsnoop:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<confdir:pcm/surround40.conf>
|
<confdir:pcm/surround40.conf>
|
||||||
|
|
||||||
FM801.pcm.surround40.0 "cards.FM801.pcm.front.0"
|
FM801.pcm.surround40.0 "cards.FM801.pcm.front.0"
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ HDA-Intel.pcm.front.0 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# with dmix?
|
# default with dmix+softvol & dsnoop
|
||||||
HDA-Intel.pcm.default {
|
HDA-Intel.pcm.default {
|
||||||
@args [ CARD ]
|
@args [ CARD ]
|
||||||
@args.CARD {
|
@args.CARD {
|
||||||
|
|
@ -33,9 +33,8 @@ HDA-Intel.pcm.default {
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type softvol
|
type softvol
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
@func concat
|
||||||
card $CARD
|
strings [ "dmix:" $CARD ]
|
||||||
device 0
|
|
||||||
}
|
}
|
||||||
control {
|
control {
|
||||||
name "PCM Playback Volume"
|
name "PCM Playback Volume"
|
||||||
|
|
@ -46,9 +45,8 @@ HDA-Intel.pcm.default {
|
||||||
capture.pcm {
|
capture.pcm {
|
||||||
type plug
|
type plug
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
@func concat
|
||||||
card $CARD
|
strings [ "dsnoop:" $CARD ]
|
||||||
device 0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ ICH.pcm.front.0 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# with dmix?
|
# default with dmix+softvol & dsnoop
|
||||||
ICH.pcm.default {
|
ICH.pcm.default {
|
||||||
@args [ CARD ]
|
@args [ CARD ]
|
||||||
@args.CARD {
|
@args.CARD {
|
||||||
|
|
@ -33,9 +33,8 @@ ICH.pcm.default {
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type softvol
|
type softvol
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
@func concat
|
||||||
card $CARD
|
strings [ "dmix:" $CARD ]
|
||||||
device 0
|
|
||||||
}
|
}
|
||||||
control {
|
control {
|
||||||
name "PCM Playback Volume"
|
name "PCM Playback Volume"
|
||||||
|
|
@ -46,9 +45,8 @@ ICH.pcm.default {
|
||||||
capture.pcm {
|
capture.pcm {
|
||||||
type plug
|
type plug
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
@func concat
|
||||||
card $CARD
|
strings [ "dsnoop:" $CARD ]
|
||||||
device 0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ ICH4.pcm.front.0 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# with dmix?
|
# default with dmix+softvol & dsnoop
|
||||||
ICH4.pcm.default {
|
ICH4.pcm.default {
|
||||||
@args [ CARD ]
|
@args [ CARD ]
|
||||||
@args.CARD {
|
@args.CARD {
|
||||||
|
|
@ -33,9 +33,8 @@ ICH4.pcm.default {
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type softvol
|
type softvol
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
@func concat
|
||||||
card $CARD
|
strings [ "dmix:" $CARD ]
|
||||||
device 0
|
|
||||||
}
|
}
|
||||||
control {
|
control {
|
||||||
name "PCM Playback Volume"
|
name "PCM Playback Volume"
|
||||||
|
|
@ -46,9 +45,8 @@ ICH4.pcm.default {
|
||||||
capture.pcm {
|
capture.pcm {
|
||||||
type plug
|
type plug
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
@func concat
|
||||||
card $CARD
|
strings [ "dsnoop:" $CARD ]
|
||||||
device 0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ NFORCE.pcm.front.0 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# with dmix?
|
# default with dmix+softvol & dsnoop
|
||||||
NFORCE.pcm.default {
|
NFORCE.pcm.default {
|
||||||
@args [ CARD ]
|
@args [ CARD ]
|
||||||
@args.CARD {
|
@args.CARD {
|
||||||
|
|
@ -33,9 +33,8 @@ NFORCE.pcm.default {
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type softvol
|
type softvol
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
@func concat
|
||||||
card $CARD
|
strings [ "dmix:" $CARD ]
|
||||||
device 0
|
|
||||||
}
|
}
|
||||||
control {
|
control {
|
||||||
name "PCM Playback Volume"
|
name "PCM Playback Volume"
|
||||||
|
|
@ -46,9 +45,8 @@ NFORCE.pcm.default {
|
||||||
capture.pcm {
|
capture.pcm {
|
||||||
type plug
|
type plug
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
@func concat
|
||||||
card $CARD
|
strings [ "dsnoop:" $CARD ]
|
||||||
device 0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,29 @@ VIA686A.pcm.front.0 {
|
||||||
device 0
|
device 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# default with dmix/dsnoop
|
||||||
|
VIA686A.pcm.default {
|
||||||
|
@args [ CARD ]
|
||||||
|
@args.CARD {
|
||||||
|
type integer
|
||||||
|
}
|
||||||
|
type asym
|
||||||
|
playback.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dmix:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
capture.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dsnoop:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<confdir:pcm/iec958.conf>
|
<confdir:pcm/iec958.conf>
|
||||||
|
|
||||||
VIA686A.pcm.iec958.0 {
|
VIA686A.pcm.iec958.0 {
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,30 @@ VIA8233.pcm.front.0 {
|
||||||
device 0
|
device 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# default with plughw/dsnoop
|
||||||
|
# VIA8233 supports multi-playback
|
||||||
|
VIA8233.pcm.default {
|
||||||
|
@args [ CARD ]
|
||||||
|
@args.CARD {
|
||||||
|
type integer
|
||||||
|
}
|
||||||
|
type asym
|
||||||
|
playback.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "hw:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
capture.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dsnoop:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<confdir:pcm/surround40.conf>
|
<confdir:pcm/surround40.conf>
|
||||||
|
|
||||||
VIA8233.pcm.surround40.0 {
|
VIA8233.pcm.surround40.0 {
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,29 @@ VIA8233A.pcm.front.0 {
|
||||||
device 0
|
device 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# default with dmix/dsnoop
|
||||||
|
VIA8233A.pcm.default {
|
||||||
|
@args [ CARD ]
|
||||||
|
@args.CARD {
|
||||||
|
type integer
|
||||||
|
}
|
||||||
|
type asym
|
||||||
|
playback.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dmix:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
capture.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dsnoop:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<confdir:pcm/surround40.conf>
|
<confdir:pcm/surround40.conf>
|
||||||
|
|
||||||
VIA8233A.pcm.surround40.0 {
|
VIA8233A.pcm.surround40.0 {
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,30 @@ VIA8237.pcm.front.0 {
|
||||||
device 0
|
device 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# default with plughw/dsnoop
|
||||||
|
# VIA8237 supports multi-playback
|
||||||
|
VIA8237.pcm.default {
|
||||||
|
@args [ CARD ]
|
||||||
|
@args.CARD {
|
||||||
|
type integer
|
||||||
|
}
|
||||||
|
type asym
|
||||||
|
playback.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "hw:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
capture.pcm {
|
||||||
|
type plug
|
||||||
|
slave.pcm {
|
||||||
|
@func concat
|
||||||
|
strings [ "dsnoop:" $CARD ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<confdir:pcm/surround40.conf>
|
<confdir:pcm/surround40.conf>
|
||||||
|
|
||||||
VIA8237.pcm.surround40.0 {
|
VIA8237.pcm.surround40.0 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue