Ticket #9119: 31-smooth-timestretch-enable

File 31-smooth-timestretch-enable, 858 bytes (added by Mark Spieth, 15 years ago)
Line 
1make transition into timestretch smooth.
2
3From: Mark Spieth <mspieth@digivation.com.au>
4
5
6---
7 mythtv/libs/libmyth/audiooutputbase.cpp | 1 +
8 1 files changed, 1 insertions(+), 0 deletions(-)
9
10diff --git a/mythtv/libs/libmyth/audiooutputbase.cpp b/mythtv/libs/libmyth/audiooutputbase.cpp
11index cf27e7e..1f3f31e 100644
12--- a/mythtv/libs/libmyth/audiooutputbase.cpp
13+++ b/mythtv/libs/libmyth/audiooutputbase.cpp
14@@ -498,6 +498,7 @@ void AudioOutputBase::Reconfigure(const AudioSettings &orig_settings)
15 if (need_resampler || needs_upmix || needs_downmix ||
16 stretchfactor != 1.0f || (internal_vol && SWVolume()) ||
17 (enc && output_format != FORMAT_S16) ||
18+ gCoreContext->GetNumSetting("AlwaysProcessAudio", true) ||
19 !output_settings->IsSupportedFormat(output_format))
20 {
21 VBAUDIO("Audio processing enabled");