Logging improvements to allow prettier displays in the server GUI.
[dcpomatic.git] / src / lib / audio_decoder.cc
index 268a9d29629cfa7b108f3c6853e568fefd1e69ab..2944357bac7fe0f279bb8da163915c1e730f65e9 100644 (file)
@@ -30,9 +30,10 @@ using std::cout;
 using std::map;
 using boost::shared_ptr;
 
-AudioDecoder::AudioDecoder (shared_ptr<const AudioContent> content)
+AudioDecoder::AudioDecoder (shared_ptr<const AudioContent> content, bool fast)
        : _audio_content (content)
        , _ignore_audio (false)
+       , _fast (fast)
 {
        BOOST_FOREACH (AudioStreamPtr i, content->audio_streams ()) {
                _streams[i] = shared_ptr<AudioDecoderStream> (new AudioDecoderStream (_audio_content, i, this));