[mythtv] AC3 passthrough and timestretch problems
John P Poet
jppoet at gmail.com
Sat May 3 00:06:17 UTC 2008
On Fri, May 2, 2008 at 12:19 AM, Mark Spieth <mark at digivation.com.au> wrote:
> 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)
Yes, that also works.
John
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
More information about the mythtv-dev
mailing list