class Google::Apis::TranscoderV1beta1::AudioChannelInput

Identifies which input file, track, and channel should be used.

Attributes

channel[RW]

Required. The zero-based index of the channel in the input file. Corresponds to the JSON property `channel` @return [Fixnum]

gain_db[RW]

Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0. Corresponds to the JSON property `gainDb` @return [Float]

key[RW]

Required. The `Input.key` that identifies the input file. Corresponds to the JSON property `key` @return [String]

track[RW]

Required. The zero-based index of the track in the input file. Corresponds to the JSON property `track` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/transcoder_v1beta1/classes.rb, line 291
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/transcoder_v1beta1/classes.rb, line 296
def update!(**args)
  @channel = args[:channel] if args.key?(:channel)
  @gain_db = args[:gain_db] if args.key?(:gain_db)
  @key = args[:key] if args.key?(:key)
  @track = args[:track] if args.key?(:track)
end