commit 2194b165b1088a0327ee2462b4c96443200df255
Author: Mark Spieth <mspieth@digivation.com.au>
Date: Wed Mar 7 10:27:15 2012 +1100
clear audio state if audio reset requested
diff --git a/mythtv/libs/libmyth/audio/audiooutputbase.cpp b/mythtv/libs/libmyth/audio/audiooutputbase.cpp
index 567b49b..6d89f58 100644
a
|
b
|
void AudioOutputBase::Reset() |
922 | 922 | reset_active.Ref(); |
923 | 923 | current_seconds = -1; |
924 | 924 | was_paused = !pauseaudio; |
| 925 | // clear any state that could remember previous audio in any active filters |
| 926 | if (needs_upmix && upmixer) |
| 927 | upmixer->flush(); |
| 928 | if (pSoundStretch) |
| 929 | pSoundStretch->clear(); |
925 | 930 | |
926 | 931 | // Setup visualisations, zero the visualisations buffers |
927 | 932 | prepareVisuals(); |