summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/source.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/pulsecore/source.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/pulsecore/source.c')
-rw-r--r--src/pulsecore/source.c4
1 files changed, 0 insertions, 4 deletions
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;