[mythtv] Audio update with volume

Jesper Sörensen jesper at datapartner.se
Sun Oct 24 22:06:00 UTC 2004


David George wrote:

> I also looked at Jesper Sorenson's ALSA patch and incorporated the 
> no-close on error (most of the other changes were already in there).


Thanks! I won't be able to test this for a week or two but I took a 
quick a quick glance at your patch and I have a little question.

In the error handling in WriteAudio, it seems you removed the check for 
-ESTRPIPE and placed the suspend handling under -EPIPE instead. I'm no 
Alsa expert, and maybe this depends on which Alsa version you use, but 
according to the link below underrun and suspend are two different 
errors with different error codes:
http://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m___direct.html#a2 


BTW, do you know of any way to "generate" those errors? I was only able 
to get a few underruns (occasionally when changing channels), and it's 
kinda hard to debug the error handling if you don't have any errors... ;-)

Rgds
JS



More information about the mythtv-dev mailing list