mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
Fix GUS.conf to be usable
Fix GUS.conf to work for default PCM. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
3b728db20d
commit
777a869769
1 changed files with 14 additions and 7 deletions
|
|
@ -19,10 +19,12 @@ GUS.pcm.front.0 {
|
|||
}
|
||||
|
||||
#
|
||||
# It's a temporary solution.
|
||||
# First route with plug to drop mmap requirement.
|
||||
# Then, use the mmap_emul plugin to allow using
|
||||
# noninterleaved channels.
|
||||
#
|
||||
|
||||
!pcm.hw {
|
||||
!pcm.default {
|
||||
@args [ CARD DEV SUBDEV ]
|
||||
@args.CARD {
|
||||
type string
|
||||
|
|
@ -58,9 +60,14 @@ GUS.pcm.front.0 {
|
|||
name defaults.pcm.subdevice
|
||||
}
|
||||
}
|
||||
type hw
|
||||
card $CARD
|
||||
device $DEV
|
||||
subdevice $SUBDEV
|
||||
mmap_emulation on
|
||||
type plug
|
||||
slave.pcm {
|
||||
type mmap_emul
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device $DEV
|
||||
subdevice $SUBDEV
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue