Removed snd_defaults_ functions.

Updated the syntax of configuration file to substitute values from
the environment space.
Updated alsa.conf to replace old snd_defaults_ functions.
This commit is contained in:
Jaroslav Kysela 2001-06-08 10:15:25 +00:00
parent 5ce8fbeab5
commit b7c05ad942
7 changed files with 80 additions and 158 deletions

View file

@ -1,10 +1,13 @@
#
# ALSA library configuration file
#
pcm.default {
type plug
slave.pcm {
type hw
card 0
device 0
card <@ALSA_PCM_CARD,ALSA_CARD:0@>
device <@ALSA_PCM_DEVICE:0@>
}
}
@ -115,10 +118,11 @@ pcm.surround40 {
$.1 DEV
$.CARD {
type integer
default <@ALSA_SURROUND40_CARD,ALSA_PCM_CARD,ALSA_CARD:0@>
}
$.DEV {
type integer
default 0
default <@ALSA_SURROUND40_DEVICE:0@>
}
type surround
card $CARD
@ -131,10 +135,11 @@ pcm.surround51 {
$.1 DEV
$.CARD {
type integer
default <@ALSA_SURROUND51_CARD,ALSA_PCM_CARD,ALSA_CARD:0@>
}
$.DEV {
type integer
default 0
default <@ALSA_SURROUND51_DEVICE:0@>
}
type surround
card $CARD
@ -148,7 +153,7 @@ pcm.null {
ctl.default {
type hw
card 0
card <@ALSA_CARD:0@>
}
ctl.hw {
@ -174,6 +179,12 @@ ctl.shm {
ctl $PCM
}
rawmidi.default {
type hw
card <@ALSA_RAWMIDI_CARD,ALSA_CARD:0@>
device <@ALSA_RAWMIDI_DEVICE:0@>
}
rawmidi.hw {
$.0 CARD
$.1 DEV
@ -194,6 +205,10 @@ rawmidi.hw {
subdevice $SUBDEV
}
seq.default {
type hw
}
seq.hw {
type hw
}
@ -242,4 +257,3 @@ pcm.iec958 {
}
}
}