]>
code.delx.au - pulseaudio/blob - src/sink.h
18 struct sample_spec sample_spec
;
19 struct idxset
*input_streams
;
21 struct source
*monitor_source
;
25 void (*notify_callback
)(struct sink
*sink
, void *userdata
);
29 struct sink
* sink_new(struct core
*core
, const char *name
, const struct sample_spec
*spec
);
30 void sink_free(struct sink
* s
);
32 int sink_render(struct sink
*s
, size_t length
, struct memchunk
*result
);
33 int sink_render_into(struct sink
*s
, struct memblock
*target
, struct memchunk
*result
);
35 void sink_notify(struct sink
*s
);
36 void sink_set_notify_callback(struct sink
*s
, void (*notify_callback
)(struct sink
*sink
, void *userdata
), void *userdata
);