[mythtv] Patch: Fix clicks and pops in OSS output

Isaac Richards ijr at po.cwru.edu
Wed Aug 18 21:35:27 EDT 2004


On Wednesday 11 August 2004 07:24 pm, Ed Wildgoose wrote:
> This small patch fixes clicks and pops on the OSS output with my card
> (RME 9632).  Features of this card which cause problems are that it only
> has two audio buffers, and the driver doesn't (normally) track the exact
> free space on the card, only whether zero, one or two buffers are
> empty.  If you look closely at the various IF statements this can lead
> to an underflow because we are actually waiting for the buffer to
> completely empty each time
>
> A similar bit of code is needed to the ALSA output library, but this
> patch will likely apply completely ok anyway...  In any case I will
> prepare a full patch to alsa as well (and there are some other cleanups
> to add to the alsa one as well) - however, I need to test the alsa patch
> first before submitting and its rather late here now.
>
> Please apply to cvs.

Done..  =)

Isaac


More information about the mythtv-dev mailing list