X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fmid_side_decoder.h;h=857975478074f31c936d4d071b9e031d7c07b58f;hb=182b9d2e2feb6545592868606aaf0f0146095481;hp=dac6cb7d9a7516dc159c65f46d4fd5cea6746e40;hpb=6de35d058821acc092d2aae75543024a97026b8a;p=dcpomatic.git diff --git a/src/lib/mid_side_decoder.h b/src/lib/mid_side_decoder.h index dac6cb7d9..857975478 100644 --- a/src/lib/mid_side_decoder.h +++ b/src/lib/mid_side_decoder.h @@ -1,33 +1,35 @@ /* - Copyright (C) 2014 Carl Hetherington + Copyright (C) 2014-2021 Carl Hetherington - This program is free software; you can redistribute it and/or modify + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - This program is distributed in the hope that it will be useful, + DCP-o-matic is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with DCP-o-matic. If not, see . */ + #include "audio_processor.h" + class MidSideDecoder : public AudioProcessor { public: - std::string name () const; - std::string id () const; - ChannelCount in_channels () const; - int out_channels (int) const; - boost::shared_ptr clone (int) const; - boost::shared_ptr run (boost::shared_ptr); + std::string name () const override; + std::string id () const override; + int out_channels () const override; + std::shared_ptr clone (int) const override; + std::shared_ptr run (std::shared_ptr, int channels) override; + void make_audio_mapping_default (AudioMapping& mapping) const override; + std::vector input_names () const override; }; - -