mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-17 06:59:56 -05:00
Move attaching/detaching from a pa_rtpoll into pa_sink proper, remove it from module-combine
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1823 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
3396b65f15
commit
5ae4eed52e
6 changed files with 150 additions and 30 deletions
|
|
@ -91,7 +91,10 @@ struct pa_sink_input {
|
|||
void (*drop) (pa_sink_input *i, size_t length);
|
||||
|
||||
/* If non-NULL this function is called when the input is first
|
||||
* connected to a sink. Called from IO thread context */
|
||||
* connected to a sink or when the rtpoll/asyncmsgq fields
|
||||
* change. You usually don't need to implement this function
|
||||
* unless you rewrite a sink that is piggy-backed onto
|
||||
* another. Called from IO thread context */
|
||||
void (*attach) (pa_sink_input *i); /* may be NULL */
|
||||
|
||||
/* If non-NULL this function is called when the output is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue