From: Lennart Poettering Date: Sat, 28 Jul 2007 22:55:12 +0000 (+0000) Subject: It is now allowed to call pa_sink_get_volume() from thread context X-Git-Tag: 1.0_branch~2762^2~1^2~409 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16154507675ba7fa37f5478ecd6717d9c616439d;p=profile%2Fivi%2Fpulseaudio.git It is now allowed to call pa_sink_get_volume() from thread context git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1557 fefdeb5f-60dc-0310-8127-8f9354f1896f --- diff --git a/src/modules/module-alsa-sink.c b/src/modules/module-alsa-sink.c index 05fb90b..cf56d8c 100644 --- a/src/modules/module-alsa-sink.c +++ b/src/modules/module-alsa-sink.c @@ -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...");