Click or drag to resize

AudioInput Class

Audio input port.

This class will trigger the DMInputChange event.

Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpPro.DMAudioComp
    Crestron.SimplSharpPro.DMAudioInput

Namespace: Crestron.SimplSharpPro.DM
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public class Input : AudioComp, IDMAudioInformation

The AudioInput type exposes the following members.

Properties
 NameDescription
Public propertyAudioChannelsFeedback Reports the number of audio channels detected. Values will range from 0 to 8. A value of 0 signifies that no audio is present or that the channel count could not be determined because the audio format is compressed.

The BaseEvent event will trigger with AudioChannelsEventId.

The DMInputChange event will trigger with AudioChannelsEventId.

The DMInputChange event will trigger with AudioChannelsEventId and Number represent the the Input Number. Number decremented by one shall be used as the index into the [!:HdCtlNaxDspBase.AudioInputs] collection for [!:DmNaxXsp].

Public propertyAudioCompensation Sets the source gain compensation. Valid values range from -100 (-10dB) to +100 (+10dB). The source gain compensation only has an effect on the analog audio output (AUDIO OUT), and has no effect on the DM or HDMI outputs. The total gain at the output will never exceed 0dB, as the output range is -80dB to 0dB. If the input compensation plus the output volume exceeds 0dB, the output will be limited to 0dB. Changes that exceed 0dB will have no effect.
(Inherited from AudioComp)
Public propertyAudioCompensationFeedback Reports the source gain compensation being applied.

The DMInputChange event will trigger with AudioCompEventId.

When apart of an EndpointInputStream, the InputStreamChange event will trigger with AudioCompensationFeedbackEventId.


(Inherited from AudioComp)
Public propertyAudioFormatFeedback Reports the detected audio format accompanying the stream.

The BaseEvent event will trigger with AudioFormatEventId.

The DMInputChange event will trigger with AudioFormatEventId.

The DMInputChange event will trigger with AudioFormatEventId and Number represent the the Input Number. Number decremented by one shall be used as the index into the [!:HdCtlNaxDspBase.AudioInputs] collection for [!:DmNaxXsp].

Public propertyAudioSamplingFrequencyFeedback Reports the sampling frequency of the audio accompanying the video (1 = 0.1 kHz). Valid values range from 0 to 1920 (192kHz).
Remarks
Only available on the DM.Cards.Dmc4kC and DM.Cards.Dmc4kzC.

The BaseEvent event will trigger with SamplingFreqEventId.

The DMInputChange event will trigger with SamplingFreqEventId.

The DMInputChange event will trigger with SamplingFreqEventId and Number represent the the Input Number. Number decremented by one shall be used as the index into the [!:HdCtlNaxDspBase.AudioInputs] collection for [!:DmNaxXsp].

Public propertyNumber Property indicates the input number on the device.
Public propertyOwner Access the owner of this audio control class.
(Inherited from AudioComp)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also