mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
pass destination source/sink when moving streams so that we can access them
This commit is contained in:
parent
c2f6d090c7
commit
75a8d18285
5 changed files with 24 additions and 20 deletions
|
|
@ -116,13 +116,15 @@ struct pa_source_output {
|
|||
* disconnected from its source. Called from IO thread context */
|
||||
void (*detach) (pa_source_output *o); /* may be NULL */
|
||||
|
||||
/* If non-NULL called whenever the the source this output is attached
|
||||
/* If non-NULL called whenever the source this output is attached
|
||||
* 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 the source this output is attached
|
||||
* to changes. Called from main context */
|
||||
void (*moving) (pa_source_output *o); /* 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
|
||||
* source. */
|
||||
void (*moving) (pa_source_output *o, pa_source *dest); /* may be NULL */
|
||||
|
||||
/* Supposed to unlink and destroy this stream. Called from main
|
||||
* context. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue