[pulseaudio-commits] 2 commits - src/modules
Arun Raghavan
arun at kemper.freedesktop.org
Wed Jun 10 23:02:05 PDT 2015
src/modules/module-rescue-streams.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 1beec62c2d53ddbc958a47eb69f63adcf7fdf4df
Author: Arun Raghavan <git at arunraghavan.net>
Date: Wed Jun 10 16:52:38 2015 +0530
rescue-streams: Fix a couple of typos
diff --git a/src/modules/module-rescue-streams.c b/src/modules/module-rescue-streams.c
index 501b5c0..901dabd 100644
--- a/src/modules/module-rescue-streams.c
+++ b/src/modules/module-rescue-streams.c
@@ -304,12 +304,12 @@ static pa_hook_result_t source_output_move_fail_hook_callback(pa_core *c, pa_sou
return PA_HOOK_OK;
if (pa_source_output_finish_move(i, target, false) < 0) {
- pa_log_info("Failed to move source input %u \"%s\" to %s.", i->index,
+ pa_log_info("Failed to move source output %u \"%s\" to %s.", i->index,
pa_strnull(pa_proplist_gets(i->proplist, PA_PROP_APPLICATION_NAME)), target->name);
return PA_HOOK_OK;
} else {
- pa_log_info("Successfully moved source input %u \"%s\" to %s.", i->index,
+ pa_log_info("Successfully moved output input %u \"%s\" to %s.", i->index,
pa_strnull(pa_proplist_gets(i->proplist, PA_PROP_APPLICATION_NAME)), target->name);
return PA_HOOK_STOP;
}
commit 21b912dd2b91691f39c1fe6d2bcdc56d632ce86b
Author: Arun Raghavan <git at arunraghavan.net>
Date: Wed Jun 10 16:52:17 2015 +0530
rescue-streams: Document a cryptic looking condition
diff --git a/src/modules/module-rescue-streams.c b/src/modules/module-rescue-streams.c
index e20fdf8..501b5c0 100644
--- a/src/modules/module-rescue-streams.c
+++ b/src/modules/module-rescue-streams.c
@@ -226,6 +226,7 @@ static pa_source* find_evacuation_source(pa_core *c, pa_source_output *o, pa_sou
if (target == skip)
continue;
+ /* We only move to a monitor source if we're already on one */
if (skip && !target->monitor_of != !skip->monitor_of)
continue;
More information about the pulseaudio-commits
mailing list