From 76f83b97c401c24b3c93baee0665e84be05f43ea Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 22 Jun 2016 01:47:28 +0100 Subject: Set AudioDecoder::fast a different way. --- src/lib/audio_decoder.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/lib/audio_decoder.h') diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h index fbb1ad4d4..315cd94e4 100644 --- a/src/lib/audio_decoder.h +++ b/src/lib/audio_decoder.h @@ -41,7 +41,7 @@ class Log; class AudioDecoder : public boost::enable_shared_from_this { public: - AudioDecoder (Decoder* parent, boost::shared_ptr, bool fast, boost::shared_ptr log); + AudioDecoder (Decoder* parent, boost::shared_ptr, boost::shared_ptr log); /** Try to fetch some audio from a specific place in this content. * @param frame Frame to start from (after resampling, if applicable) @@ -52,10 +52,7 @@ public: ContentAudio get (AudioStreamPtr stream, Frame time, Frame length, bool accurate); void set_ignore (); - - bool fast () const { - return _fast; - } + void set_fast (); void give (AudioStreamPtr stream, boost::shared_ptr, ContentTime); void flush (); -- cgit v1.2.3