mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Define "sysdefault" PCM and control
When "default" PCM and control definitions are overwritten by others like PulseAudio setup, the original system-default defition is lost. This is a problem when PA is temporarily (or intentionally) disabled and user wants to use the default dmix. This patch adds a new standard definition for the system-default, "sysdefault". This can be used for fallbacks. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
e2c2262403
commit
e6f990e5c9
1 changed files with 3 additions and 1 deletions
|
|
@ -119,6 +119,7 @@ defaults.timer.subdevice 0
|
|||
pcm.cards cards.pcm
|
||||
|
||||
pcm.default cards.pcm.default
|
||||
pcm.sysdefault cards.pcm.default
|
||||
pcm.front cards.pcm.front
|
||||
pcm.rear cards.pcm.rear
|
||||
pcm.center_lfe cards.pcm.center_lfe
|
||||
|
|
@ -321,7 +322,7 @@ pcm.null {
|
|||
# Control interface
|
||||
#
|
||||
|
||||
ctl.default {
|
||||
ctl.sysdefault {
|
||||
type hw
|
||||
card {
|
||||
@func getenv
|
||||
|
|
@ -335,6 +336,7 @@ ctl.default {
|
|||
}
|
||||
}
|
||||
}
|
||||
ctl.default ctl.sysdefault
|
||||
|
||||
ctl.hw {
|
||||
@args [ CARD ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue