[pulseaudio-discuss] PulseAudio and OpenAL games: AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up
Raymond Yau
superquad.vortex2 at gmail.com
Thu Oct 30 19:34:21 PDT 2014
> > > > >
> > > > > When playing PlaneShift through Pulseaudio while PlaneShift is
setup
> >
> > to
> >
> > > > > use
> > > > > OpenAL as sound renderer I get:
> > > > >
> > > > > AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2;
> >
> > expect
> >
> > > > > break up
> > > > >
> > > > > and well badly stuttering sound.
> > > >
http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/pulsecore/protocol-native.c?id=5f326b705d8f7f0c14e7e0c7d7c2751f3a5ebe43
protocol-native: Lower default minreq in low-latency scenarios
If minreq is not explicitly specified, it was always initialized to 20 ms
(DEFAULT_PROCESS_MSEC). However when the total latency is not much higher
than 20 ms, this is way too high. Instead use tlength/4 as a measure
> > > > I'm not very familiar with OpenAL, and a quick look through the
source
> > > > (in Ubuntu 14.04) did not show any such warning message.
> > > >
> > > > So I'm not sure what that warning means, and if the error is in
OpenAL
> > > > or in PulseAudio.
> > > >
your usb audio are forced to disable tsch, the default frag time is 25ms
and default period is 4 Which can be changed in daemon.conf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20141031/aa457b98/attachment.html>
More information about the pulseaudio-discuss
mailing list