Google Cloud Video Transcoder V1 Client - Class AudioMapping (0.8.2)

Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class AudioMapping.

The mapping for the Job.edit_list atoms with audio EditAtom.inputs.

Generated from protobuf message google.cloud.video.transcoder.v1.AudioStream.AudioMapping

Namespace

Google \ Cloud \ Video \ Transcoder \ V1 \ AudioStream

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ atom_key string

Required. The EditAtom.key that references the atom with audio inputs in the Job.edit_list.

↳ input_key string

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

↳ input_track int

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

↳ input_channel int

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

↳ output_channel int

Required. The zero-based index of the channel in the output audio stream.

↳ gain_db float

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

getAtomKey

Required. The EditAtom.key that references the atom with audio inputs in the Job.edit_list.

Returns
TypeDescription
string

setAtomKey

Required. The EditAtom.key that references the atom with audio inputs in the Job.edit_list.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInputKey

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

Returns
TypeDescription
string

setInputKey

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInputTrack

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

Returns
TypeDescription
int

setInputTrack

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getInputChannel

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

Returns
TypeDescription
int

setInputChannel

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getOutputChannel

Required. The zero-based index of the channel in the output audio stream.

Returns
TypeDescription
int

setOutputChannel

Required. The zero-based index of the channel in the output audio stream.

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