mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
got mmap oss output working
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@20 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
a8f788111c
commit
4b86ff0e6c
17 changed files with 607 additions and 112 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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue