X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fmid_side_decoder.h;h=99821caa463985c12c4067e13cc293f204eabfd6;hp=dac6cb7d9a7516dc159c65f46d4fd5cea6746e40;hb=689fa55d1529ad88449ca464e9107c4dcc54d1cb;hpb=946dbad9821e676f1d8fdc5abba459da54b8e84c diff --git a/src/lib/mid_side_decoder.h b/src/lib/mid_side_decoder.h index dac6cb7d9..99821caa4 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); + int out_channels () const; + std::shared_ptr clone (int) const; + std::shared_ptr run (std::shared_ptr, int channels); + void make_audio_mapping_default (AudioMapping& mapping) const; + std::vector input_names () const; }; - -