summaryrefslogtreecommitdiffstats
path: root/src/pulsecore
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2011-02-27 13:20:42 +0200
committerColin Guthrie <cguthrie@mandriva.org>2011-02-28 09:55:01 +0000
commit0d8bbaf40d07806069ca350a8ffe78075c4453e4 (patch)
tree050fbbc2153b1fc28b606aa210aa340dd3706775 /src/pulsecore
parent6bd34156b130c07b130de10111a12ef6dab18b52 (diff)
sink: Don't send unnecessary PA_SINK_MESSAGE_SET_SHARED_VOLUME messages.
If send_msg is false, the message will be sent by the caller.
Diffstat (limited to 'src/pulsecore')
-rw-r--r--src/pulsecore/sink.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c
index d713be11..4da36f3c 100644
--- a/src/pulsecore/sink.c
+++ b/src/pulsecore/sink.c
@@ -1705,8 +1705,6 @@ void pa_sink_set_volume(
pa_cvolume_reset(&root_sink->soft_volume, root_sink->sample_spec.channels);
if (!(root_sink->flags & PA_SINK_SYNC_VOLUME))
root_sink->set_volume(root_sink);
- else
- send_msg = TRUE;
} else
/* If we have no function set_volume(), then the soft volume