[polypaudio-commits] r990 - /trunk/src/modules/module-detect.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Tue May 30 05:23:38 PDT 2006


Author: lennart
Date: Tue May 30 14:23:37 2006
New Revision: 990

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=990&root=polypaudio&view=rev
Log:
load alsa modules with device string hw:0 instead of hw:0,0

Modified:
    trunk/src/modules/module-detect.c

Modified: trunk/src/modules/module-detect.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-detect.c?rev=990&root=polypaudio&r1=989&r2=990&view=diff
==============================================================================
--- trunk/src/modules/module-detect.c (original)
+++ trunk/src/modules/module-detect.c Tue May 30 14:23:37 2006
@@ -92,7 +92,7 @@
         if (subdevice != 0)
             continue;
 
-        snprintf(args, sizeof(args), "device=hw:%u,0", device);
+        snprintf(args, sizeof(args), "device=hw:%u", device);
         if (!pa_module_load(c, is_sink ? "module-alsa-sink" : "module-alsa-source", args))
             continue;
 




More information about the pulseaudio-commits mailing list