mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-26 07:00:11 -05:00
Added GUS.conf
This commit is contained in:
parent
7fbb1a3071
commit
a09bda7a61
2 changed files with 72 additions and 0 deletions
66
src/conf/cards/GUS.conf
Normal file
66
src/conf/cards/GUS.conf
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
#
|
||||
# Configuration for the GUS soundcards
|
||||
#
|
||||
|
||||
<confdir:pcm/front.conf>
|
||||
|
||||
GUS.pcm.front.0 {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type route
|
||||
ttable.0.0 1
|
||||
ttable.1.1 1
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
}
|
||||
}
|
||||
|
||||
#
|
||||
# It's a temporary solution.
|
||||
#
|
||||
|
||||
!pcm.hw {
|
||||
@args [ CARD DEV SUBDEV ]
|
||||
@args.CARD {
|
||||
type string
|
||||
default {
|
||||
@func getenv
|
||||
vars [
|
||||
ALSA_PCM_CARD
|
||||
ALSA_CARD
|
||||
]
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.card
|
||||
}
|
||||
}
|
||||
}
|
||||
@args.DEV {
|
||||
type integer
|
||||
default {
|
||||
@func igetenv
|
||||
vars [
|
||||
ALSA_PCM_DEVICE
|
||||
]
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.device
|
||||
}
|
||||
}
|
||||
}
|
||||
@args.SUBDEV {
|
||||
type integer
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.subdevice
|
||||
}
|
||||
}
|
||||
type hw
|
||||
card $CARD
|
||||
device $DEV
|
||||
subdevice $SUBDEV
|
||||
mmap_emulation on
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue