X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Faudio_decoder.h;h=a2e06f11ceed15773f9987eb96e3017eddca1ed0;hb=0c846af54055b9915c6c68617cd28176d5f84351;hp=754321880bcb026c7af361f6ff642eea350ea3f0;hpb=3339d3bce70afe9ae2ca10e9fcfc4b54b748fbf4;p=dcpomatic.git diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h index 754321880..a2e06f11c 100644 --- a/src/lib/audio_decoder.h +++ b/src/lib/audio_decoder.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2018 Carl Hetherington + Copyright (C) 2012-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -28,9 +28,9 @@ #define DCPOMATIC_AUDIO_DECODER_H -#include "decoder.h" -#include "content_audio.h" #include "audio_stream.h" +#include "content_audio.h" +#include "decoder.h" #include "decoder_part.h" #include @@ -61,7 +61,7 @@ public: boost::signals2::signal Data; private: - void silence (int milliseconds); + void silence (AudioStreamPtr stream, int milliseconds); std::shared_ptr _content; /** Frame after the last one that was emitted from Data (i.e. at the resampled rate, if applicable)