X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcinema_sound_processor.h;h=ef003da2a3b4834e6c02ae4faf9618df4541c8f9;hb=446b8e0a4400ebf32fec4afd764ec3c73498f4bc;hp=25c57600375ecd3d31d3db52582a5d4e4428b110;hpb=e6c828cbd577239e7c8e4c532161084a33843a0f;p=dcpomatic.git diff --git a/src/lib/cinema_sound_processor.h b/src/lib/cinema_sound_processor.h index 25c576003..ef003da2a 100644 --- a/src/lib/cinema_sound_processor.h +++ b/src/lib/cinema_sound_processor.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2014 Carl Hetherington + Copyright (C) 2012-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,29 +18,36 @@ */ + /** @file src/cinema_sound_processor.h * @brief CinemaSoundProcessor class */ + #ifndef DCPOMATIC_CINEMA_SOUND_PROCESSOR_H #define DCPOMATIC_CINEMA_SOUND_PROCESSOR_H + #include #include #include + /** @class CinemaSoundProcessor * @brief Class to describe a cimema's sound processor. * * In other words, the box in the rack that handles sound decoding and processing * in a cinema. */ -class CinemaSoundProcessor : public boost::noncopyable +class CinemaSoundProcessor { public: CinemaSoundProcessor (std::string i, std::string n, float knee, float below, float above); virtual ~CinemaSoundProcessor () {} + CinemaSoundProcessor (CinemaSoundProcessor const&) = delete; + CinemaSoundProcessor& operator=(CinemaSoundProcessor const&) = delete; + float db_for_fader_change (float from, float to) const; /** @return id for our use */ @@ -72,4 +79,5 @@ private: static std::vector _cinema_sound_processors; }; + #endif