mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
PIPE_BUF has nothing to do with the esound buffers.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@378 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
13496bb73e
commit
cd3691dff7
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ static int do_write(struct userdata *u) {
|
|||
pa_module_set_used(u->module, pa_idxset_ncontents(u->sink->inputs) + pa_idxset_ncontents(u->sink->monitor_source->outputs));
|
||||
|
||||
if (!u->memchunk.length)
|
||||
if (pa_sink_render(u->sink, PIPE_BUF, &u->memchunk) < 0)
|
||||
if (pa_sink_render(u->sink, 8192, &u->memchunk) < 0)
|
||||
return 0;
|
||||
|
||||
assert(u->memchunk.memblock && u->memchunk.length);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue