18 struct sample_spec sample_spec;
19 struct idxset *inputs;
21 struct source *monitor_source;
25 void (*notify)(struct sink*sink);
26 uint32_t (*get_latency)(struct sink *s);
30 struct sink* sink_new(struct core *core, const char *name, const struct sample_spec *spec);
31 void sink_free(struct sink* s);
33 int sink_render(struct sink*s, size_t length, struct memchunk *result);
34 int sink_render_into(struct sink*s, struct memchunk *target);
35 void sink_render_into_full(struct sink *s, struct memchunk *target);
37 uint32_t sink_get_latency(struct sink *s);
39 void sink_notify(struct sink*s);
41 char *sink_list_to_string(struct core *core);
43 struct sink* sink_get_default(struct core *c);