[pulseaudio-discuss] [PATCH 2/2] sink, source: fix out of date comments

Tanu Kaskinen tanuk at iki.fi
Sun Sep 10 19:32:57 UTC 2017


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   | 2 +-
 src/pulsecore/source.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c
index e96c05feb..d1c7fd3be 100644
--- a/src/pulsecore/sink.c
+++ b/src/pulsecore/sink.c
@@ -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;
         }
 
diff --git a/src/pulsecore/source.c b/src/pulsecore/source.c
index b9db4c62e..e0d32af4e 100644
--- a/src/pulsecore/source.c
+++ b/src/pulsecore/source.c
@@ -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;
         }
 
-- 
2.14.1



More information about the pulseaudio-discuss mailing list