From df92b23fa6e520127309c2f63e1f22c7d222e734 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 9 May 2008 22:48:37 +0000 Subject: - 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 --- src/pulsecore/source.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/pulsecore/source.c') diff --git a/src/pulsecore/source.c b/src/pulsecore/source.c index fc4734fd..426906eb 100644 --- a/src/pulsecore/source.c +++ b/src/pulsecore/source.c @@ -107,7 +107,6 @@ static void reset_callbacks(pa_source *s) { s->set_volume = NULL; s->get_mute = NULL; s->set_mute = NULL; - s->get_latency = NULL; s->update_requested_latency = NULL; } @@ -440,9 +439,6 @@ pa_usec_t pa_source_get_latency(pa_source *s) { if (!PA_SOURCE_IS_OPENED(s->state)) return 0; - if (s->get_latency) - return s->get_latency(s); - if (pa_asyncmsgq_send(s->asyncmsgq, PA_MSGOBJECT(s), PA_SOURCE_MESSAGE_GET_LATENCY, &usec, 0, NULL) < 0) return 0; -- cgit