sink: Don't send unnecessary PA_SINK_MESSAGE_SET_SHARED_VOLUME messages.
[platform/upstream/pulseaudio.git] / src / pulsecore / sink.c
index d713be1..4da36f3 100644 (file)
@@ -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