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

David George david at thegeorges.us
Mon Sep 6 15:43:41 EDT 2004


Here is a patch to properly handle broken pipes.  Mostly based on the 
oss emulation library in the alsa project itself.  See the 
lib_oss_pcm_write function at: 
http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-oss/alsa/pcm.c?rev=1.3 
for more info.

I also added a sample Doxygen comment before SetParameters so we could 
see what it would look like.  This is based on examples I have seen.  I 
am not a Doxygen expert.

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.

Thanks,
David

-------------- next part --------------
A non-text attachment was scrubbed...
Name: audiooutputalsa2.diff
Type: text/x-patch
Size: 3231 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040906/ac58ed2c/audiooutputalsa2.bin


More information about the mythtv-dev mailing list