#define DCPOMATIC_AUDIO_CONTENT_H
-#include "content_part.h"
-#include "audio_stream.h"
#include "audio_mapping.h"
+#include "audio_stream.h"
+#include "content_part.h"
+#include "named_channel.h"
/** @class AudioContentProperty
#define DCPOMATIC_AUDIO_PROCESSOR_H
-#include "types.h"
+#include "named_channel.h"
#include <memory>
#include <string>
#include <vector>
#include "dcp_text_track.h"
#include "dcpomatic_time.h"
#include "frame_rate_change.h"
+#include "named_channel.h"
#include "resolution.h"
#include "signaller.h"
#include "transcode_job.h"
--- /dev/null
+/*
+ Copyright (C) 2013-2021 Carl Hetherington <cth@carlh.net>
+
+ 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.
+
+ 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 DCP-o-matic. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+
+#include "named_channel.h"
+
+
+bool operator== (NamedChannel const& a, NamedChannel const& b)
+{
+ return a.name == b.name && a.index == b.index;
+}
+
+
--- /dev/null
+/*
+ Copyright (C) 2013-2021 Carl Hetherington <cth@carlh.net>
+
+ 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.
+
+ 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 DCP-o-matic. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+
+#ifndef DCPOMATIC_NAMED_CHANNEL_H
+#define DCPOMATIC_NAMED_CHANNEL_H
+
+
+#include <string>
+
+
+class NamedChannel
+{
+public:
+ NamedChannel (std::string name_, int index_)
+ : name(name_)
+ , index(index_)
+ {}
+
+ std::string name;
+ int index;
+};
+
+
+bool operator== (NamedChannel const& a, NamedChannel const& b);
+
+
+#endif
+
}
-bool operator== (NamedChannel const& a, NamedChannel const& b)
-{
- return a.name == b.name && a.index == b.index;
-}
-
-
string
video_range_to_string (VideoRange r)
{
};
-class NamedChannel
-{
-public:
- NamedChannel (std::string name_, int index_)
- : name(name_)
- , index(index_)
- {}
-
- std::string name;
- int index;
-};
-
-
-bool operator== (NamedChannel const& a, NamedChannel const& b);
-
#endif
maths_util.cc
memory_util.cc
mid_side_decoder.cc
+ named_channel.cc
overlaps.cc
pixel_quanta.cc
player.cc
#include "lib/audio_mapping.h"
+#include "lib/named_channel.h"
#include "lib/types.h"
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS