summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2017-09-10 22:32:57 +0300
committerArun Raghavan <arun@arunraghavan.net>2017-09-13 08:07:31 +0530
commit0062bd860d83d18c34e867594b68de72d94a3259 (patch)
tree52e46a5444d2af11e6ef1397ce902c7248935ec9
parent759705bc4f1bc819dbfbc1f68c1b0b4bd3a18734 (diff)
downloadpulseaudio-0062bd860d83d18c34e867594b68de72d94a3259.tar.gz
sink, source: fix out of date comments
update_shared_real_volume() doesn't exist. I checked that update_real_volume() does what the comments claim update_shared_real_volume() to do.
-rw-r--r--src/pulsecore/sink.c2
-rw-r--r--src/pulsecore/source.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c
index 2ea874a46..22342890f 100644
--- a/src/pulsecore/sink.c
+++ b/src/pulsecore/sink.c
@@ -1956,7 +1956,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;
}