[mythtv] AC3 passthrough and timestretch problems
Dan Wilga
mythtv-dev2 at dwilga-linux1.amherst.edu
Mon May 5 13:06:23 UTC 2008
At 4:19 PM +1000 5/2/08, Mark Spieth wrote:
>could you also try this one please. this is my prefferred fix.
>remove the other patch.
>
>--- audiooutputbase.cpp (revision 17223)
>+++ audiooutputbase.cpp (working copy)
>@@ -121,7 +121,8 @@
>void AudioOutputBase::SetStretchFactorLocked(float laudio_stretchfactor)
>{
> effdspstretched = (int)((float)effdsp / laudio_stretchfactor);
>- if (audio_stretchfactor != laudio_stretchfactor)
>+ if ((audio_stretchfactor != laudio_stretchfactor) || +
>(pSoundStretch == NULL))
> {
> audio_stretchfactor = laudio_stretchfactor;
> if (pSoundStretch)
Yes, this patch does, indeed, fix the problem for me. Thanks, Mark!
--
Dan Wilga "Ook."
More information about the mythtv-dev
mailing list