add suspend_within_thread() callbacks to pa_sink_input/pa_source_output

This commit is contained in:
Lennart Poettering 2009-04-07 00:46:20 +02:00
parent 35a4a0baa8
commit 61b07768c2
6 changed files with 44 additions and 3 deletions

View file

@ -120,6 +120,10 @@ struct pa_source_output {
* to suspends or resumes. Called from main context */
void (*suspend) (pa_source_output *o, pa_bool_t b); /* may be NULL */
/* If non-NULL called whenever the source this output is attached
* to suspends or resumes. Called from IO context */
void (*suspend_within_thread) (pa_source_output *o, pa_bool_t b); /* may be NULL */
/* If non-NULL called whenever the source output is moved to a new
* source. Called from main context after the stream was detached
* from the old source and before it is attached to the new