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=6ef1fc5f40567650ca9ef2b7644e4fdd97640ae6;hpb=5dc2dbdb6639f8d617a40209ad603d2a38f9df2a 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; }; - -