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

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

Namespace

Google \ Cloud \ Video \ Transcoder \ V1beta1 \ AudioStream \ AudioAtom \ AudioChannel

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setKey

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

Parameter
Name Description
var string
Returns
Type Description
$this

getTrack

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

Returns
Type Description
int

setTrack

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

Parameter
Name Description
var int
Returns
Type Description
$this

getChannel

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

Returns
Type Description
int

setChannel

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

Parameter
Name Description
var int
Returns
Type Description
$this

getGainDb

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

Returns
Type Description
float

setGainDb

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

Parameter
Name Description
var float
Returns
Type Description
$this