X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcinema_sound_processor.h;h=3ccaa5c9b35c3195603f497bc82f21b1e03c5594;hb=d3ecb8495a42d039b07313e393734c49fdc6be66;hp=aa0ffa50f45c5faf77da02a85ab0ff2ec503bfe3;hpb=b539d468acc3ca73cc58a4434002e511a4995f7d;p=dcpomatic.git diff --git a/src/lib/cinema_sound_processor.h b/src/lib/cinema_sound_processor.h index aa0ffa50f..3ccaa5c9b 100644 --- a/src/lib/cinema_sound_processor.h +++ b/src/lib/cinema_sound_processor.h @@ -29,6 +29,7 @@ #include +#include #include #include @@ -46,7 +47,7 @@ public: virtual ~CinemaSoundProcessor () {} CinemaSoundProcessor (CinemaSoundProcessor const&) = delete; - CinemaSoundProcessor& operator==(CinemaSoundProcessor const&) = delete; + CinemaSoundProcessor& operator=(CinemaSoundProcessor const&) = delete; float db_for_fader_change (float from, float to) const; @@ -64,7 +65,6 @@ public: static void setup_cinema_sound_processors (); static CinemaSoundProcessor const * from_id (std::string id); static CinemaSoundProcessor const * from_index (int); - static int as_index (CinemaSoundProcessor const *); private: /** id for our use */ @@ -75,8 +75,8 @@ private: float _below; float _above; - /** sll available cinema sound processors */ - static std::vector _cinema_sound_processors; + /** all available cinema sound processors */ + static std::vector> _cinema_sound_processors; };