client: allow zero-copy writing to the stream

This commit is contained in:
Lennart Poettering 2009-07-20 15:49:33 +01:00
parent a2b207e38a
commit 23039af842
3 changed files with 178 additions and 46 deletions

View file

@ -151,6 +151,11 @@ struct pa_stream {
uint32_t device_index;
char *device_name;
/* playback */
pa_memblock *write_memblock;
void *write_data;
/* recording */
pa_memchunk peek_memchunk;
void *peek_data;
pa_memblockq *record_memblockq;