diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-09-01 00:23:51 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-09-01 00:23:51 +0000 |
commit | 34fe8bd893ed9c7531bc4898b934ef9d4cdf3e68 (patch) | |
tree | 816a8543d3521eb43fb49c67af33afc44769bd91 /polyp/polyplib-context.c | |
parent | 9618aea5df5bf2c5069575f28a935c2039fc55e0 (diff) | |
download | pulseaudio-34fe8bd893ed9c7531bc4898b934ef9d4cdf3e68.tar.gz |
add support for SCHED_FIFO
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@163 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-context.c')
-rw-r--r-- | polyp/polyplib-context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polyp/polyplib-context.c b/polyp/polyplib-context.c index 7542dd9bb..2ead40041 100644 --- a/polyp/polyplib-context.c +++ b/polyp/polyplib-context.c @@ -202,7 +202,7 @@ static void pstream_memblock_callback(struct pa_pstream *p, uint32_t channel, ui if ((s = pa_dynarray_get(c->record_streams, channel))) { if (s->read_callback) - s->read_callback(s, chunk->memblock->data + chunk->index, chunk->length, s->read_userdata); + s->read_callback(s, (uint8_t*) chunk->memblock->data + chunk->index, chunk->length, s->read_userdata); } pa_context_unref(c); @@ -451,7 +451,7 @@ static void set_dispatch_callbacks(struct pa_operation *o) { else { if (o->callback) { void (*cb)(struct pa_context *c, void *userdata); - cb = (void*) o->callback; + cb = (void (*)(struct pa_context*, void*)) o->callback; cb(o->context, o->userdata); } |