+void pa_sink_render_full(struct pa_sink *s, size_t length, struct pa_memchunk *result) {
+ assert(s && s->ref >= 1 && length && result);
+
+ /*** This needs optimization ***/
+
+ result->memblock = pa_memblock_new(result->length = length, s->core->memblock_stat);
+ result->index = 0;
+
+ pa_sink_render_into_full(s, result);
+}
+
+pa_usec_t pa_sink_get_latency(struct pa_sink *s) {
+ assert(s && s->ref >= 1);