summaryrefslogtreecommitdiff
path: root/src/lib/audio_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-04-11 10:21:02 +0100
committerCarl Hetherington <cth@carlh.net>2014-04-11 10:21:02 +0100
commit0da6975960aab345a1a8b30e6a95659cc936a1da (patch)
tree3c25ba2011d9037f240ade39904a917f0deca035 /src/lib/audio_decoder.h
parentc190bba821e60611bfeb59a54b73541fb529522a (diff)
Flush decoded_audio buffer on seek.
Diffstat (limited to 'src/lib/audio_decoder.h')
-rw-r--r--src/lib/audio_decoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h
index c83c356b7..0b0d306f6 100644
--- a/src/lib/audio_decoder.h
+++ b/src/lib/audio_decoder.h
@@ -57,6 +57,7 @@ protected:
void seek (ContentTime time, bool accurate);
void audio (boost::shared_ptr<const AudioBuffers>, ContentTime);
void flush ();
+ void reset_decoded_audio ();
boost::shared_ptr<const AudioContent> _audio_content;
boost::shared_ptr<Resampler> _resampler;