diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-06-16 00:05:30 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-06-16 00:05:30 +0000 |
commit | 4b86ff0e6cfea2c34be71ebe1102eb307bd5dc0b (patch) | |
tree | 3f4e164f9b1c72464c647b9369fc98e127494514 /src/sink.h | |
parent | a8f788111cb0b18ca3517a51657881d5ffcfabae (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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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); |