X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fupmixer_b.h;h=fc30e2a28e88bc7e08c3a082b23b8df9c926db99;hb=0e164ad80f0ceff9d643f3b466690d013c3be19d;hp=0c724b36ca047f51272363d786445c50082ecf0f;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/lib/upmixer_b.h b/src/lib/upmixer_b.h index 0c724b36c..fc30e2a28 100644 --- a/src/lib/upmixer_b.h +++ b/src/lib/upmixer_b.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2015 Carl Hetherington + Copyright (C) 2015-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,29 +18,33 @@ */ + /** @file src/lib/upmixer_b.h * @brief UpmixerB class. */ + #include "audio_processor.h" #include "audio_filter.h" #include "audio_delay.h" + class UpmixerB : public AudioProcessor { public: - UpmixerB (int sampling_rate); + explicit UpmixerB (int sampling_rate); std::string name () const; std::string id () const; int out_channels () const; - boost::shared_ptr clone (int) const; - boost::shared_ptr run (boost::shared_ptr, int channels); + std::shared_ptr clone (int) const; + std::shared_ptr run (std::shared_ptr, int channels); void flush (); void make_audio_mapping_default (AudioMapping& mapping) const; - std::vector input_names () const; + std::vector input_names () const; private: LowPassAudioFilter _lfe; AudioDelay _delay; }; +