[mythtv] [mythtv-commits] Ticket #6569: ac3 level is low for 5.1 source

Ed W lists at wildgooses.com
Thu May 6 21:34:32 UTC 2010


Which is what I was referring to... You are changing the type of data
> in the audio buffer, be it the number of channels, the number of
> samples, weither they have been resampled or not etc...
>
> We can not handle different data type in the same audio buffer as it is.
>
> So if you make a change, it has to be reset.
>    

It's a definite hack, but if we really need this behaviour then we could 
"block" at the point we need to feed a different type of data into the 
audio buffer, then call drain(), then once the current buffer is all 
played out we can continue and call reset.  It's got the potential to 
cause a glitch during the changeover, but at least we wouldn't need to 
dump all the unplayed data?

Ed W


More information about the mythtv-dev mailing list