diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-05-09 22:48:37 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-05-09 22:48:37 +0000 |
commit | df92b23fa6e520127309c2f63e1f22c7d222e734 (patch) | |
tree | e12de600757d4ab8b76cef7828b2a9c604540af7 /src/pulsecore/sink.h | |
parent | 580d56358d9d15792613fc4be886c71059c58a36 (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/sink.h')
-rw-r--r-- | src/pulsecore/sink.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pulsecore/sink.h b/src/pulsecore/sink.h index f25f48cf..f297c8f1 100644 --- a/src/pulsecore/sink.h +++ b/src/pulsecore/sink.h @@ -118,11 +118,6 @@ struct pa_sink { * message will be sent to the IO thread instead. */ int (*set_mute)(pa_sink *s); /* dito */ - /* Called when the latency is queried. Called from main loop - context. If this is NULL a PA_SINK_MESSAGE_GET_LATENCY message - will be sent to the IO thread instead. */ - pa_usec_t (*get_latency)(pa_sink *s); /* dito */ - /* Called when a rewind request is issued. Called from IO thread * context. */ void (*request_rewind)(pa_sink *s); /* dito */ @@ -166,7 +161,8 @@ typedef enum pa_sink_message { PA_SINK_MESSAGE_GET_LATENCY, PA_SINK_MESSAGE_GET_REQUESTED_LATENCY, PA_SINK_MESSAGE_SET_STATE, - PA_SINK_MESSAGE_REMOVE_INPUT_AND_BUFFER, + PA_SINK_MESSAGE_START_MOVE, + PA_SINK_MESSAGE_FINISH_MOVE, PA_SINK_MESSAGE_ATTACH, PA_SINK_MESSAGE_DETACH, PA_SINK_MESSAGE_MAX |