diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-04-07 00:46:20 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-04-07 00:46:20 +0200 |
commit | 61b07768c2f7fcc38a32ba31db837a57335ed664 (patch) | |
tree | d69006dc5baeba9987930b49adee6cd06667a4b8 /src/pulsecore/sink-input.h | |
parent | 35a4a0baa8c83e1056d4fa6498aa789f76956ba7 (diff) |
add suspend_within_thread() callbacks to pa_sink_input/pa_source_output
Diffstat (limited to 'src/pulsecore/sink-input.h')
-rw-r--r-- | src/pulsecore/sink-input.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulsecore/sink-input.h b/src/pulsecore/sink-input.h index 0dd5e9aa..6ecb5d73 100644 --- a/src/pulsecore/sink-input.h +++ b/src/pulsecore/sink-input.h @@ -148,6 +148,10 @@ struct pa_sink_input { * to suspends or resumes. Called from main context */ void (*suspend) (pa_sink_input *i, pa_bool_t b); /* may be NULL */ + /* If non-NULL called whenever the sink this input is attached + * to suspends or resumes. Called from IO context */ + void (*suspend_within_thread) (pa_sink_input *i, pa_bool_t b); /* may be NULL */ + /* 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 |