summaryrefslogtreecommitdiffstats
path: root/src/sink.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sink.h')
-rw-r--r--src/sink.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sink.h b/src/sink.h
index ccfa2590..1a9fb8ca 100644
--- a/src/sink.h
+++ b/src/sink.h
@@ -23,6 +23,7 @@ struct sink {
uint8_t volume;
void (*notify)(struct sink*sink);
+ uint32_t (*get_latency)(struct sink *s);
void *userdata;
};
@@ -30,7 +31,10 @@ struct sink* sink_new(struct core *core, const char *name, const struct sample_s
void sink_free(struct sink* s);
int sink_render(struct sink*s, size_t length, struct memchunk *result);
-int sink_render_into(struct sink*s, struct memblock *target, struct memchunk *result);
+int sink_render_into(struct sink*s, struct memchunk *target);
+void sink_render_into_full(struct sink *s, struct memchunk *target);
+
+uint32_t sink_get_latency(struct sink *s);
void sink_notify(struct sink*s);