Google Cloud Video Transcoder V1beta1 Client - Class AudioChannelInput (0.6.0)

Reference documentation and code samples for the Google Cloud Video Transcoder V1beta1 Client class AudioChannelInput.

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

Generated from protobuf message google.cloud.video.transcoder.v1beta1.AudioStream.AudioAtom.AudioChannel.AudioChannelInput

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key string

Required. The Input.key that identifies the input file.

↳ track int

Required. The zero-based index of the track in the input file.

↳ channel int

Required. The zero-based index of the channel in the input file.

↳ gain_db float

Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.

getKey

Required. The Input.key that identifies the input file.

Returns
TypeDescription
string

setKey

Required. The Input.key that identifies the input file.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTrack

Required. The zero-based index of the track in the input file.

Returns
TypeDescription
int

setTrack

Required. The zero-based index of the track in the input file.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getChannel

Required. The zero-based index of the channel in the input file.

Returns
TypeDescription
int

setChannel

Required. The zero-based index of the channel in the input file.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getGainDb

Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.

Returns
TypeDescription
float

setGainDb

Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.

Parameter
NameDescription
var float
Returns
TypeDescription
$this