diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-09-14 23:26:17 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-09-14 23:26:17 +0000 |
commit | 5ae4eed52e911fb3e9712e1cd7d6095427515cd1 (patch) | |
tree | 88a9b2cbe5e060beedb61604e0419628194ccefb /src/pulsecore/sink-input.h | |
parent | 3396b65f15a06ff312e318bc05e502ba402c564e (diff) |
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
Diffstat (limited to 'src/pulsecore/sink-input.h')
-rw-r--r-- | src/pulsecore/sink-input.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pulsecore/sink-input.h b/src/pulsecore/sink-input.h index c4e65b50..a101828f 100644 --- a/src/pulsecore/sink-input.h +++ b/src/pulsecore/sink-input.h @@ -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 |