summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/source-output.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-11 23:31:59 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-11 23:31:59 +0000
commitaf1b0317f653a3da092b45de3b27643359b9a85e (patch)
tree67b8aca808b817a4541c2cbe837b8dc774eca14c /src/pulsecore/source-output.h
parentc90dd53268bec8516be3b37e8af1989290f022a2 (diff)
comment which values in pa_{sink,source,sink_input,source_output} structures may be NULL
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1204 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/source-output.h')
-rw-r--r--src/pulsecore/source-output.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pulsecore/source-output.h b/src/pulsecore/source-output.h
index 9a8ea92b..acf53bd1 100644
--- a/src/pulsecore/source-output.h
+++ b/src/pulsecore/source-output.h
@@ -44,20 +44,20 @@ struct pa_source_output {
uint32_t index;
pa_source_output_state_t state;
- char *name, *driver;
- pa_module *owner;
+ char *name, *driver; /* may be NULL */
+ pa_module *owner; /* may be NULL */
pa_source *source;
- pa_client *client;
+ pa_client *client; /* may be NULL */
pa_sample_spec sample_spec;
pa_channel_map channel_map;
void (*push)(pa_source_output *o, const pa_memchunk *chunk);
- void (*kill)(pa_source_output* o);
- pa_usec_t (*get_latency) (pa_source_output *o);
+ void (*kill)(pa_source_output* o); /* may be NULL */
+ pa_usec_t (*get_latency) (pa_source_output *o); /* may be NULL */
- pa_resampler* resampler;
+ pa_resampler* resampler; /* may be NULL */
pa_resample_method_t resample_method;
void *userdata;