[mythtv] [PATCH] audiooutputalsa.cpp Broken pipe fix

Mark Anderson markjanderson at mail.com
Tue Sep 7 18:34:21 EDT 2004


> 
> I am working on a larger ALSA patch, but wanted to at least get this
in
> for everyone before the upcoming release.  Anyone using ALSA please
test
> and let me know how it is working for you.
>
David, this patch has fixed the broken pipe errors I was receiving and
my ALSA audio output has improved but is still not 100%. 

Some details of my observations are as follows:

- I now seem to be getting "WriteAudio: xrun (buffer underrun)" messages
as well as the "Not in the running state, state=2" messages which I was
also getting before the patch.

- Audio playback of streams recorded via DVB (Avermedia DVB-t) are
almost perfect, there is very little breakup, but more than none :-(.
There is also a hollow pinging sound in the surround speakers which is
probably unrelated.

- Audio playback of audio recorded from the line in on my sound card (SB
Live! 5.1) for my foxtel paytv is terrible. This is where I see the
errors listed above appear and where I was previously seeing the broken
pipe errors.

- I have more than enough CPU (<20% for analog live tv playback) so that
is not the cause.

I am happy to support your work here, just let me know how I can help.

Cheers
Mark.

> Thanks,
> David




More information about the mythtv-dev mailing list