diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-09-14 23:08:39 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-09-14 23:08:39 +0000 |
commit | 935826f4f318a89a0a570f766deb54808a4f9683 (patch) | |
tree | 3e2cf7ec1386fa5711367b59bb1aaa9d309a86fc /polyp/protocol-esound.c | |
parent | 6e019795bff589ef0a867772975e34da78fffefb (diff) |
make module-combine autoloadable
clean up cli language
introduce lazy sample cache
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@201 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/protocol-esound.c')
-rw-r--r-- | polyp/protocol-esound.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polyp/protocol-esound.c b/polyp/protocol-esound.c index 8ec48a34..6944a111 100644 --- a/polyp/protocol-esound.c +++ b/polyp/protocol-esound.c @@ -590,7 +590,7 @@ static int esd_proto_sample_cache(struct connection *c, esd_proto_t request, con c->state = ESD_CACHING_SAMPLE; - pa_scache_add_item(c->protocol->core, c->scache_name, NULL, NULL, &index); + pa_scache_add_item(c->protocol->core, c->scache_name, NULL, NULL, &index, 0); ok = connection_write(c, sizeof(int)); assert(ok); @@ -748,7 +748,7 @@ static int do_read(struct connection *c) { int *ok; c->scache_memchunk.index = 0; - pa_scache_add_item(c->protocol->core, c->scache_name, &c->scache_sample_spec, &c->scache_memchunk, &index); + pa_scache_add_item(c->protocol->core, c->scache_name, &c->scache_sample_spec, &c->scache_memchunk, &index, 0); pa_memblock_unref(c->scache_memchunk.memblock); c->scache_memchunk.memblock = NULL; |