Class: AWSCDK::MediaLive::CfnChannel::InputChannelLevelProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::InputChannelLevelProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The setting to remix the audio.
The parent of this entity is AudioChannelMappings.
Instance Attribute Summary collapse
-
#gain ⇒ Numeric?
readonly
The remixing value.
-
#input_channel ⇒ Numeric?
readonly
The index of the input channel that is used as a source.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(gain: nil, input_channel: nil) ⇒ InputChannelLevelProperty
constructor
A new instance of InputChannelLevelProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(gain: nil, input_channel: nil) ⇒ InputChannelLevelProperty
Returns a new instance of InputChannelLevelProperty.
8632 8633 8634 8635 8636 8637 |
# File 'media_live/cfn_channel.rb', line 8632 def initialize(gain: nil, input_channel: nil) @gain = gain Jsii::Type.check_type(@gain, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "gain") unless @gain.nil? @input_channel = input_channel Jsii::Type.check_type(@input_channel, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "inputChannel") unless @input_channel.nil? end |
Instance Attribute Details
#gain ⇒ Numeric? (readonly)
The remixing value.
Units are in dB, and acceptable values are within the range from -60 (mute) to 6 dB.
8645 8646 8647 |
# File 'media_live/cfn_channel.rb', line 8645 def gain @gain end |
#input_channel ⇒ Numeric? (readonly)
The index of the input channel that is used as a source.
8650 8651 8652 |
# File 'media_live/cfn_channel.rb', line 8650 def input_channel @input_channel end |
Class Method Details
.jsii_properties ⇒ Object
8652 8653 8654 8655 8656 8657 |
# File 'media_live/cfn_channel.rb', line 8652 def self.jsii_properties { :gain => "gain", :input_channel => "inputChannel", } end |
Instance Method Details
#to_jsii ⇒ Object
8659 8660 8661 8662 8663 8664 8665 8666 |
# File 'media_live/cfn_channel.rb', line 8659 def to_jsii result = {} result.merge!({ "gain" => @gain, "inputChannel" => @input_channel, }) result.compact end |