Commit 11063b34 authored by Simon Morlat's avatar Simon Morlat

fix pulseaudio playback settings (audio was lost after a couple of seconds with previous settings)

parent b6731a8b
......@@ -269,9 +269,9 @@ static void pulse_write_preprocess(MSFilter *f){
attr.maxlength=fragsize*3;
attr.tlength=fragsize;
attr.prebuf=0;
attr.prebuf=-1;
attr.minreq=-1;
attr.fragsize=fragsize;
attr.fragsize=-1;
s->stream=pa_stream_new(context,"phone",&s->sampleSpec,NULL);
if (s->stream==NULL){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment