17 char *name, *description;
18 struct pa_module *owner;
20 struct pa_sample_spec sample_spec;
21 struct pa_idxset *outputs;
22 struct pa_sink *monitor_of;
24 void (*notify)(struct pa_source*source);
28 struct pa_source* pa_source_new(struct pa_core *core, const char *name, int fail, const struct pa_sample_spec *spec);
29 void pa_source_free(struct pa_source *s);
31 /* Pass a new memory block to all output streams */
32 void pa_source_post(struct pa_source*s, struct pa_memchunk *b);
34 void pa_source_notify(struct pa_source *s);
36 char *pa_source_list_to_string(struct pa_core *c);
38 struct pa_source* pa_source_get_default(struct pa_core *c);
40 void pa_source_set_owner(struct pa_source *s, struct pa_module *m);