summaryrefslogtreecommitdiffstats
path: root/src/sink.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-06-16 00:05:30 +0000
committerLennart Poettering <lennart@poettering.net>2004-06-16 00:05:30 +0000
commit4b86ff0e6cfea2c34be71ebe1102eb307bd5dc0b (patch)
tree3f4e164f9b1c72464c647b9369fc98e127494514 /src/sink.h
parenta8f788111cb0b18ca3517a51657881d5ffcfabae (diff)
got mmap oss output working
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@20 fefdeb5f-60dc-0310-8127-8f9354f1896f
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);