summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2011-08-15 11:23:59 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2011-08-15 12:49:35 +0530
commitb9d517cd515a6d53de592b7c33e47caaff738b6c (patch)
treed0f583620417c80ecf3ceb43ae7e81166237fcd4
parent0f3be7b72b2a1ba72a209628e19789dcf8132f11 (diff)
sink: Fix lazy commenting
-rw-r--r--src/pulsecore/sink.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pulsecore/sink.h b/src/pulsecore/sink.h
index 0bd5e81e..3f897844 100644
--- a/src/pulsecore/sink.h
+++ b/src/pulsecore/sink.h
@@ -217,17 +217,17 @@ struct pa_sink {
/* Called whenever the port shall be changed. Called from main
* thread. */
- int (*set_port)(pa_sink *s, pa_device_port *port); /* ditto */
+ 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
* in descending order of preference. */
- pa_idxset* (*get_formats)(pa_sink *s); /* ditto */
+ pa_idxset* (*get_formats)(pa_sink *s); /* may be NULL */
/* Called to set the list of formats supported by the sink. Can be
* NULL if the sink does not support this. Returns TRUE on success,
* FALSE otherwise (for example when an unsupportable format is
* set). Makes a copy of the formats passed in. */
- pa_bool_t (*set_formats)(pa_sink *s, pa_idxset *formats); /* ditto */
+ pa_bool_t (*set_formats)(pa_sink *s, pa_idxset *formats); /* may be NULL */
/* Contains copies of the above data so that the real-time worker
* thread can work without access locking */