[alsa-devel] gusclassic alsa configuration
Krzysztof Helt
krzysztof.h1 at poczta.fm
Sun Jan 25 09:19:23 CET 2009
On Fri, 23 Jan 2009 14:42:45 +0100
Takashi Iwai <tiwai at suse.de> wrote:
>
> OK, then let's define the default config for GUS at first, then
> fix the system-wide default making somehow better.
>
> Could you post the latest patch?
>
The latest version of the GUS.conf is below.
I have found that the issue is probably the same as
the ALSA bug #1770 so it should be closed/fixed
if the change is applied to ALSA.
Regards,
Krzysztof
--- /usr/src/alsa/alsa-lib-1.0.18/src/conf/cards/GUS.conf 2008-10-29 13:42:10.000000000 +0100
+++ alsa/cards/GUS.conf 2009-01-25 09:03:56.738474703 +0100
@@ -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
+ }
+ }
}
----------------------------------------------------------------------
Promocja w Speak Up. 3 miesiace angielskiego gratis.
Sprawdz teraz i wypelnij formularz! >> http://link.interia.pl/f2019
More information about the Alsa-devel
mailing list