It is now allowed to call pa_sink_get_volume() from thread context
authorLennart Poettering <lennart@poettering.net>
Sat, 28 Jul 2007 22:55:12 +0000 (22:55 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 28 Jul 2007 22:55:12 +0000 (22:55 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1557 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/modules/module-alsa-sink.c

index 05fb90b..cf56d8c 100644 (file)
@@ -287,9 +287,8 @@ static int unsuspend(struct userdata *u) {
         goto fail;
     }
 
-    pa_sink_get_volume(u->sink);
-    pa_sink_get_mute(u->sink);
-
+    /* FIXME: We need to reload the volume somehow */
+    
     u->first = 1;
                 
     pa_log_debug("Resumed successfully...");