Click or drag to resize

IOutputMixer Interface

Interface to expose an output mixer. When you have an object that is of type IOutputMixer, you can get the OutputMixer from it and check the OutputMixerType accordingly for the actual object.

Namespace: Crestron.SimplSharpPro.DM
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public interface IOutputMixer

The IOutputMixer type exposes the following members.

Properties
 NameDescription
Public propertyOutputMixer Property to retrieve the object representing the output mixer on the device. See IOutputMixer for more info.
Top
Example
C#
IOutputMixer output = SwitcherOutputs[1] as IOutputMixer;
if (output != null)
{
    if (output.OutputMixer.OutputMixerType == eOutputMixerType.Dmps3OutputMixerWithMonoAndStereo)
    {
        // If it supports Mono/Stereo, toggle it.
        Dmps3OutputMixerWithMonoAndStereo OutWithMS = (Dmps3OutputMixerWithMonoAndStereo)output;
        if (OutWithMS.MonoOutputFeedback.BoolValue == true)
            OutWithMS.StereoOutput();
        else
            OutWithMS.MonoOutput();
    }    
}

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also