mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04: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
|
||||
}
|
||||
|
||||
# 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>
|
||||
|
||||
ATIIXP-SPDMA.pcm.surround40.0 {
|
||||
|
|
|
|||
|
|
@ -14,6 +14,29 @@ ATIIXP.pcm.front.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>
|
||||
|
||||
ATIIXP.pcm.surround40.0 {
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ Azalia.pcm.front.0 {
|
|||
}
|
||||
}
|
||||
|
||||
# with dmix?
|
||||
Azalia.pcm.default {
|
||||
# default with dmix+softvol & dsnoop
|
||||
HDA-Intel.pcm.default {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type integer
|
||||
|
|
@ -33,9 +33,8 @@ Azalia.pcm.default {
|
|||
slave.pcm {
|
||||
type softvol
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
@func concat
|
||||
strings [ "dmix:" $CARD ]
|
||||
}
|
||||
control {
|
||||
name "PCM Playback Volume"
|
||||
|
|
@ -46,9 +45,8 @@ Azalia.pcm.default {
|
|||
capture.pcm {
|
||||
type plug
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
@func concat
|
||||
strings [ "dsnoop:" $CARD ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,6 +15,29 @@ CMI8338-SWIEC.pcm.front.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>
|
||||
|
||||
# 2nd DAC
|
||||
|
|
|
|||
|
|
@ -14,6 +14,29 @@ CMI8338.pcm.front.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>
|
||||
|
||||
# 2nd DAC
|
||||
|
|
|
|||
|
|
@ -14,6 +14,29 @@ CMI8738-MC6.pcm.front.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>
|
||||
|
||||
# 2nd DAC
|
||||
|
|
|
|||
|
|
@ -14,6 +14,30 @@ CS46xx.pcm.front.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>
|
||||
|
||||
CS46xx.pcm.rear.0 {
|
||||
|
|
|
|||
|
|
@ -14,6 +14,29 @@ ENS1370.pcm.front.0 {
|
|||
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>
|
||||
|
||||
ENS1370.pcm.rear.0 {
|
||||
|
|
|
|||
|
|
@ -14,6 +14,28 @@ ENS1371.pcm.front.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>
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,29 @@ FM801.pcm.front.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>
|
||||
|
||||
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 {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
|
|
@ -33,9 +33,8 @@ HDA-Intel.pcm.default {
|
|||
slave.pcm {
|
||||
type softvol
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
@func concat
|
||||
strings [ "dmix:" $CARD ]
|
||||
}
|
||||
control {
|
||||
name "PCM Playback Volume"
|
||||
|
|
@ -46,9 +45,8 @@ HDA-Intel.pcm.default {
|
|||
capture.pcm {
|
||||
type plug
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
@func concat
|
||||
strings [ "dsnoop:" $CARD ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ ICH.pcm.front.0 {
|
|||
}
|
||||
}
|
||||
|
||||
# with dmix?
|
||||
# default with dmix+softvol & dsnoop
|
||||
ICH.pcm.default {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
|
|
@ -33,9 +33,8 @@ ICH.pcm.default {
|
|||
slave.pcm {
|
||||
type softvol
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
@func concat
|
||||
strings [ "dmix:" $CARD ]
|
||||
}
|
||||
control {
|
||||
name "PCM Playback Volume"
|
||||
|
|
@ -46,9 +45,8 @@ ICH.pcm.default {
|
|||
capture.pcm {
|
||||
type plug
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
@func concat
|
||||
strings [ "dsnoop:" $CARD ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ ICH4.pcm.front.0 {
|
|||
}
|
||||
}
|
||||
|
||||
# with dmix?
|
||||
# default with dmix+softvol & dsnoop
|
||||
ICH4.pcm.default {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
|
|
@ -33,9 +33,8 @@ ICH4.pcm.default {
|
|||
slave.pcm {
|
||||
type softvol
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
@func concat
|
||||
strings [ "dmix:" $CARD ]
|
||||
}
|
||||
control {
|
||||
name "PCM Playback Volume"
|
||||
|
|
@ -46,9 +45,8 @@ ICH4.pcm.default {
|
|||
capture.pcm {
|
||||
type plug
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
@func concat
|
||||
strings [ "dsnoop:" $CARD ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ NFORCE.pcm.front.0 {
|
|||
}
|
||||
}
|
||||
|
||||
# with dmix?
|
||||
# default with dmix+softvol & dsnoop
|
||||
NFORCE.pcm.default {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
|
|
@ -33,9 +33,8 @@ NFORCE.pcm.default {
|
|||
slave.pcm {
|
||||
type softvol
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
@func concat
|
||||
strings [ "dmix:" $CARD ]
|
||||
}
|
||||
control {
|
||||
name "PCM Playback Volume"
|
||||
|
|
@ -46,9 +45,8 @@ NFORCE.pcm.default {
|
|||
capture.pcm {
|
||||
type plug
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
@func concat
|
||||
strings [ "dsnoop:" $CARD ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,29 @@ VIA686A.pcm.front.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>
|
||||
|
||||
VIA686A.pcm.iec958.0 {
|
||||
|
|
|
|||
|
|
@ -14,6 +14,30 @@ VIA8233.pcm.front.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>
|
||||
|
||||
VIA8233.pcm.surround40.0 {
|
||||
|
|
|
|||
|
|
@ -14,6 +14,29 @@ VIA8233A.pcm.front.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>
|
||||
|
||||
VIA8233A.pcm.surround40.0 {
|
||||
|
|
|
|||
|
|
@ -14,6 +14,30 @@ VIA8237.pcm.front.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>
|
||||
|
||||
VIA8237.pcm.surround40.0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue