summaryrefslogtreecommitdiff
path: root/src/pulsecore/sink.h
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2012-04-18 11:41:48 +0200
committerDavid Henningsson <david.henningsson@canonical.com>2012-04-18 11:41:48 +0200
commit38b24e40fcc689e074421e78bbb5778d5e4258fc (patch)
tree8f922a8d54be4d80c7582037bb1d7db3da9c693a /src/pulsecore/sink.h
parent9e55b29c2803943173a71554241477845abfd6e5 (diff)
downloadpulseaudio-panda-38b24e40fcc689e074421e78bbb5778d5e4258fc.tar.gz
pulseaudio-panda-38b24e40fcc689e074421e78bbb5778d5e4258fc.tar.bz2
pulseaudio-panda-38b24e40fcc689e074421e78bbb5778d5e4258fc.zip
sink/source.h: Clarify set_port comment
State which thread calls set_port in which scenario. Reported-by: Jyri Sasha <oku@iki.fi> Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Diffstat (limited to 'src/pulsecore/sink.h')
-rw-r--r--src/pulsecore/sink.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/sink.h b/src/pulsecore/sink.h
index 9bc80475..0b5048a9 100644
--- a/src/pulsecore/sink.h
+++ b/src/pulsecore/sink.h
@@ -211,8 +211,8 @@ struct pa_sink {
* thread context. */
pa_sink_cb_t update_requested_latency; /* may be NULL */
- /* Called whenever the port shall be changed. Called from main
- * thread. */
+ /* Called whenever the port shall be changed. Called from IO
+ * thread if deferred volumes are enabled, and main thread otherwise. */
int (*set_port)(pa_sink *s, pa_device_port *port); /* may be NULL */
/* Called to get the list of formats supported by the sink, sorted