[mythtv] AC3 passthrough and timestretch problems

Mark Spieth mark at digivation.com.au
Fri May 2 06:19:07 UTC 2008


could you also try this one please. this is my prefferred fix.
remove the other patch.

thanks
mark

--- 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)




More information about the mythtv-dev mailing list