class Google::Apis::TranscoderV1::AudioMapping
The mapping for the ‘Job.edit_list` atoms with audio `EditAtom.inputs`.
Attributes
Required. The ‘EditAtom.key` that references the atom with audio inputs in the `Job.edit_list`. Corresponds to the JSON property `atomKey` @return [String]
Audio
volume control in dB. Negative values decrease volume, positive values increase. The default is 0. Corresponds to the JSON property ‘gainDb` @return [Float]
Required. The zero-based index of the channel in the input audio stream. Corresponds to the JSON property ‘inputChannel` @return [Fixnum]
Required. The ‘Input.key` that identifies the input file. Corresponds to the JSON property `inputKey` @return [String]
Required. The zero-based index of the track in the input file. Corresponds to the JSON property ‘inputTrack` @return [Fixnum]
Required. The zero-based index of the channel in the output audio stream. Corresponds to the JSON property ‘outputChannel` @return [Fixnum]
Public Class Methods
# File lib/google/apis/transcoder_v1/classes.rb, line 239 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/transcoder_v1/classes.rb, line 244 def update!(**args) @atom_key = args[:atom_key] if args.key?(:atom_key) @gain_db = args[:gain_db] if args.key?(:gain_db) @input_channel = args[:input_channel] if args.key?(:input_channel) @input_key = args[:input_key] if args.key?(:input_key) @input_track = args[:input_track] if args.key?(:input_track) @output_channel = args[:output_channel] if args.key?(:output_channel) end