[pulseaudio-discuss] Hiccups in audio

Lennart Poettering lennart at poettering.net
Sat Jun 6 16:09:20 PDT 2009


On Fri, 05.06.09 11:45, nikhil.rao at wipro.com (nikhil.rao at wipro.com) wrote:

> pl bossart wrote:
> > You probably want to use an interrupt-driven mode rather than the
> timer-based scheduling if the driver uses > internal memories available
> in i.MX; you would not have a precise idea of the DMA read position.
> > Try loadind the alsa-sink module with tsched=0 Regards Pierre
> 
> Thanks for your reply. 
> But the pulseaudio version(0.9.10) I am using, does not support "tsched"
> option at all.
> And I don't think I am using the timer based scheduling option. 
> 
> I remember seeing a *FIXME* in the mmap_write which said "/* FIXME:
> Maybe we can do something to keep this memory block a little bit longer
> around? */", which I suspect is causing the hiccup in my audio(not sure
> though). This FIXME is  removed in the later version of pulseaudio which
> has tsched implemented. 

This is almost certainly unrelated to your problem.

> I was wondering if I implement the tsched in the
> pulseaudio version I am currently using, will help fix my audio playback
> problem?

tsched is very complex. You certainly don't want to backport
that. Also, to work properly it requires a newer ALSA and a new kernel
which include gazillions of bug fixes.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list