[pulseaudio-commits] r1887 - /branches/lennart/src/modules/module-match.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sat Sep 22 00:31:30 PDT 2007


Author: tanuk
Date: Sat Sep 22 09:31:29 2007
New Revision: 1887

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1887&root=pulseaudio&view=rev
Log:
Correct the parameter positions with the pa_cvolume_set() call.


Modified:
    branches/lennart/src/modules/module-match.c

Modified: branches/lennart/src/modules/module-match.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/modules/module-match.c?rev=1887&root=pulseaudio&r1=1886&r2=1887&view=diff
==============================================================================
--- branches/lennart/src/modules/module-match.c (original)
+++ branches/lennart/src/modules/module-match.c Sat Sep 22 09:31:29 2007
@@ -182,7 +182,7 @@
         if (!regexec(&r->regex, si->name, 0, NULL, 0)) {
             pa_cvolume cv;
             pa_log_debug("changing volume of sink input '%s' to 0x%03x", si->name, r->volume);
-            pa_cvolume_set(&cv, r->volume, si->sample_spec.channels);
+            pa_cvolume_set(&cv, si->sample_spec.channels, r->volume);
             pa_sink_input_set_volume(si, &cv);
         }
     }




More information about the pulseaudio-commits mailing list