X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fmid_side_decoder.h;h=a4c7e22637fe9809c1488c1b2f23e0a061059861;hp=dac6cb7d9a7516dc159c65f46d4fd5cea6746e40;hb=8f12e84009d7c2685bb2eeb32665876463d4e6e5;hpb=e80e6a8567dd107f5ea3b708975cb5fd92112a57 diff --git a/src/lib/mid_side_decoder.h b/src/lib/mid_side_decoder.h index dac6cb7d9..a4c7e2263 100644 --- a/src/lib/mid_side_decoder.h +++ b/src/lib/mid_side_decoder.h @@ -1,19 +1,20 @@ /* - Copyright (C) 2014 Carl Hetherington + Copyright (C) 2014-2015 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 . */ @@ -24,10 +25,9 @@ class MidSideDecoder : public AudioProcessor public: std::string name () const; std::string id () const; - ChannelCount in_channels () const; - int out_channels (int) const; + int out_channels () const; boost::shared_ptr clone (int) const; - boost::shared_ptr run (boost::shared_ptr); + boost::shared_ptr run (boost::shared_ptr, int channels); + void make_audio_mapping_default (AudioMapping& mapping) const; + std::vector input_names () const; }; - -