[mythtv] [PATCH] Alsa audio sync and other fixes for latest big audio update

Ed Wildgoose lists at wildgooses.com
Fri Nov 5 10:10:13 UTC 2004

David George wrote:

> Ed,
> Here is a patch against your latest posted audio update.  I took a 
> clean checkout of mythtv as of Nov 2 and applied your audio patch to it.
> This is a diff -Nura against it.

Excellent.  Thanks for this.  I will apply it against my tree shortly 
and test it.

Isaac.  In principle are you happy to take the two seperate patches and 
apply to CVS now, or would you prefer a single patch?

David, one quick question: What's with the "audio_buffer_unused" 
variable, where you deduct a couple of buffers worth of space from the 
actual buffer size?  In my case, my card only has two audio buffers for 
example - how does this affect me?  I have never really understood the 
point of this bit of code really?

I would also quite like some more eyes on my code around the "effdsp" 
variable.  It's only going to make a tiny difference, but in the case of 
resampling I can't quite decide if the current cvs code *really* is 
correct? (I think it is..)


Ed W

More information about the mythtv-dev mailing list