summaryrefslogtreecommitdiffstats
path: root/src/modules/module-rescue-streams.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-05-09 22:48:37 +0000
committerLennart Poettering <lennart@poettering.net>2008-05-09 22:48:37 +0000
commitdf92b23fa6e520127309c2f63e1f22c7d222e734 (patch)
treee12de600757d4ab8b76cef7828b2a9c604540af7 /src/modules/module-rescue-streams.c
parent580d56358d9d15792613fc4be886c71059c58a36 (diff)
- Fix moving of sink inputs between sinks
- Don't write more than a single buffer size in the ALSA driver at a time, to give the clients time to fill up the memblockq again - Add API for querying the requested latency of a sink input/source output - Drop get_letancy() from vtable of sinks/sources git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2392 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/modules/module-rescue-streams.c')
-rw-r--r--src/modules/module-rescue-streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-rescue-streams.c b/src/modules/module-rescue-streams.c
index dda54735..7241a99f 100644
--- a/src/modules/module-rescue-streams.c
+++ b/src/modules/module-rescue-streams.c
@@ -75,7 +75,7 @@ static pa_hook_result_t sink_hook_callback(pa_core *c, pa_sink *sink, void* user
}
while ((i = pa_idxset_first(sink->inputs, NULL))) {
- if (pa_sink_input_move_to(i, target, 1) < 0) {
+ if (pa_sink_input_move_to(i, target) < 0) {
pa_log_warn("Failed to move sink input %u \"%s\" to %s.", i->index, pa_proplist_gets(i->proplist, PA_PROP_APPLICATION_NAME), target->name);
return PA_HOOK_OK;
}