diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-08-15 00:03:50 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-08-15 00:03:50 +0200 |
commit | 0989be13f6b5f71872f381fe2b5a7379702f20bc (patch) | |
tree | 77c4f5cb602e94fdeae6eaf1c9cc669c667b5023 /src/pulsecore/sink-input.h | |
parent | 7891f964e4a1858ccae744ddff5d33b78f00b4d2 (diff) |
core: introduce pa_{sink_input|source_output}_fail_move()
Diffstat (limited to 'src/pulsecore/sink-input.h')
-rw-r--r-- | src/pulsecore/sink-input.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pulsecore/sink-input.h b/src/pulsecore/sink-input.h index cd424e87..9088d6a1 100644 --- a/src/pulsecore/sink-input.h +++ b/src/pulsecore/sink-input.h @@ -159,7 +159,9 @@ struct pa_sink_input { /* If non-NULL called whenever the sink input is moved to a new * sink. Called from main context after the sink input has been * detached from the old sink and before it has been attached to - * the new sink. */ + * the new sink. If dest is NULL the move was executed in two + * phases and the second one failed; the stream will be destroyed + * after this call. */ void (*moving) (pa_sink_input *i, pa_sink *dest); /* may be NULL */ /* Supposed to unlink and destroy this stream. Called from main @@ -337,6 +339,7 @@ pa_bool_t pa_sink_input_may_move_to(pa_sink_input *i, pa_sink *dest); /* may thi * new sink */ int pa_sink_input_start_move(pa_sink_input *i); int pa_sink_input_finish_move(pa_sink_input *i, pa_sink *dest, pa_bool_t save); +void pa_sink_input_fail_move(pa_sink_input *i); pa_sink_input_state_t pa_sink_input_get_state(pa_sink_input *i); |