]> code.delx.au - pulseaudio/commitdiff
sink: Fix lazy commenting
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 15 Aug 2011 05:53:59 +0000 (11:23 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 15 Aug 2011 07:19:35 +0000 (12:49 +0530)
src/pulsecore/sink.h

index 0bd5e81eba59213d077057ad2c547738e9f6eefd..3f8978441a81c045af5be4c4b5f3e3134b1f5651 100644 (file)
@@ -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 */