Click or drag to resize

IMicrophone Interface

Interface for common elements on microphone. When you have an object that is of type IMicrophone, you can cast it to the object type of the same name of this enum for further properties/methods. For example, to turn on Phantom Power to Microphone #2 in a DMPS3 system:

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

The IMicrophone type exposes the following members.

Properties
 NameDescription
Public propertyGain UShortInputSig for Gain
Public propertyGainFeedBack UShortOutputSig for GainFeedBack
Public propertyID ID of this microphone.
Public propertyMicrophoneType The type of Mic. See the definition of IMicrophone interface for more information.
Public propertyMuteOffFeedBack BoolOutputSig for MuteOffFeedBack
Public propertyMuteOnFeedBack BoolOutputSig for MuteOnFeedBack
Public propertyName Get or Set the name of this microphone.
Top
Methods
 NameDescription
Public methodMuteOff MuteOff Method
Public methodMuteOn MuteOn Method
Top
Example
C#
void TurnOnPhantomPower(IMicrophone MyMic)
{
    if(MyMic.OutputMixerType == eMicrophoneType.Dmps3Microphone)
    {
        ((Dmps3Microphone)MyMic).PhantomPowerOn();
    }
}

TurnOnPhantomPower(Microphones[2]);

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also