[mythtv] AC3 passthrough and timestretch problems

Mark Spieth mark at digivation.com.au
Fri May 2 03:46:53 UTC 2008


>I'm using ALSA:iec958, so that it goes to the SPDIF connection. I've 
>got a timestretch value of 1.3x in the playback group for certain 
>programs. When I press play, the audio and video both appear to be 
>going at something close to 1x, and about a half-second out of sync. 
>My receiver thinks the audio stream is Dolby ProLogic.

can you please try the following. It is in AudioOutputBase::KillAudio()
I suspect this will fix it and other initial stretch settings.
the log helped a lot.

cheers
mark

--- audiooutputbase.cpp (revision 17219)
+++ audiooutputbase.cpp (working copy)
@@ -475,6 +476,7 @@
     // close sound stretcher
     if (pSoundStretch)
     {
+        audio_stretchfactor = 1.0;
         delete pSoundStretch;
         pSoundStretch = NULL;
     }




More information about the mythtv-dev mailing list