mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
client: allow zero-copy writing to the stream
This commit is contained in:
parent
a2b207e38a
commit
23039af842
3 changed files with 178 additions and 46 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue