mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-26 07:00:11 -05:00
66 lines
794 B
Text
66 lines
794 B
Text
#
|
|
# 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
|
|
}
|