diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-22 01:47:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-22 01:47:28 +0100 |
| commit | 76f83b97c401c24b3c93baee0665e84be05f43ea (patch) | |
| tree | 75e7f3e87f3721c8ac4c55ac6bc9559556954987 /src/lib/audio_decoder.h | |
| parent | 5e9e59e044fe3b51352d5dccad7f11882c6a571c (diff) | |
Set AudioDecoder::fast a different way.
Diffstat (limited to 'src/lib/audio_decoder.h')
| -rw-r--r-- | src/lib/audio_decoder.h | 7 |
1 files changed, 2 insertions, 5 deletions
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<AudioDecoder> { public: - AudioDecoder (Decoder* parent, boost::shared_ptr<const AudioContent>, bool fast, boost::shared_ptr<Log> log); + AudioDecoder (Decoder* parent, boost::shared_ptr<const AudioContent>, boost::shared_ptr<Log> 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<const AudioBuffers>, ContentTime); void flush (); |
