[pulseaudio-commits] r1557 - /branches/lennart/src/modules/module-alsa-sink.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sat Jul 28 15:55:13 PDT 2007


Author: lennart
Date: Sun Jul 29 00:55:12 2007
New Revision: 1557

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1557&root=3Dpulseaudio&vi=
ew=3Drev
Log:
It is now allowed to call pa_sink_get_volume() from thread context

Modified:
    branches/lennart/src/modules/module-alsa-sink.c

Modified: branches/lennart/src/modules/module-alsa-sink.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/modules/mo=
dule-alsa-sink.c?rev=3D1557&root=3Dpulseaudio&r1=3D1556&r2=3D1557&view=3Ddi=
ff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/modules/module-alsa-sink.c (original)
+++ branches/lennart/src/modules/module-alsa-sink.c Sun Jul 29 00:55:12 2007
@@ -287,9 +287,8 @@
         goto fail;
     }
 =

-    pa_sink_get_volume(u->sink);
-    pa_sink_get_mute(u->sink);
-
+    /* FIXME: We need to reload the volume somehow */
+    =

     u->first =3D 1;
                 =

     pa_log_debug("Resumed successfully...");




More information about the pulseaudio-commits mailing list