sink, source: fix out of date comments
authorTanu Kaskinen <tanuk@iki.fi>
Sun, 10 Sep 2017 19:32:57 +0000 (22:32 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Mon, 18 Sep 2017 15:49:34 +0000 (18:49 +0300)
update_shared_real_volume() doesn't exist. I checked that
update_real_volume() does what the comments claim
update_shared_real_volume() to do.

src/pulsecore/sink.c
src/pulsecore/source.c

index e96c05f..d1c7fd3 100644 (file)
@@ -1980,7 +1980,7 @@ static void propagate_reference_volume(pa_sink *s) {
 
             /* Since the origin sink uses volume sharing, this input's volume
              * needs to be updated to match the root sink's real volume, but
-             * that will be done later in update_shared_real_volume(). */
+             * that will be done later in update_real_volume(). */
             continue;
         }
 
index b9db4c6..e0d32af 100644 (file)
@@ -1530,7 +1530,7 @@ static void propagate_reference_volume(pa_source *s) {
 
             /* Since the origin source uses volume sharing, this output's volume
              * needs to be updated to match the root source's real volume, but
-             * that will be done later in update_shared_real_volume(). */
+             * that will be done later in update_real_volume(). */
             continue;
         }