mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
add suspend_within_thread() callbacks to pa_sink_input/pa_source_output
This commit is contained in:
parent
35a4a0baa8
commit
61b07768c2
6 changed files with 44 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue