implementation(const safe_ptr<diagnostics::graph>& graph)\r
: graph_(graph)\r
, format_desc_(video_format_desc::get(video_format::invalid))\r
+ , channel_layout_(default_channel_layout_repository().get_by_name(L"STEREO"))\r
, master_volume_(1.0f)\r
, previous_master_volume_(master_volume_)\r
{\r
namespace caspar { namespace core {
+channel_layout::channel_layout()
+ : num_channels(0)
+{
+}
+
bool channel_layout::operator==(const channel_layout& other) const
{
return channel_names == other.channel_names
return channel_names.empty();
}
+mix_config::mix_config()
+ : strategy(add)
+{
+}
+
bool needs_rearranging(
const channel_layout& source, const channel_layout& destination)
{
std::vector<std::wstring> channel_names;\r
int num_channels;\r
\r
+ channel_layout();\r
bool operator==(const channel_layout& other) const;\r
int channel_index(const std::wstring& channel_name) const;\r
bool has_channel(const std::wstring& channel_name) const;\r
std::wstring to_layout_type;\r
std::multimap<std::wstring, destination> destination_ch_by_source_ch;\r
mix_strategy strategy;\r
+\r
+ mix_config();\r
};\r
\r
bool needs_rearranging(\r