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;
}