AudioChannelMapping object
AudioChannelMapping object
Section titled “AudioChannelMapping object”app.project.rootItem.children[index].getAudioChannelMapping
Description
Section titled “Description”The AudioChannelMapping object defines the audio channel mapping applied to a given ProjectItem object.
Attributes
Section titled “Attributes”AudioChannelMapping.audioChannelsType
Section titled “AudioChannelMapping.audioChannelsType”app.project.rootItem.children[index].getAudioChannelMapping.audioChannelsType
Description
Section titled “Description”The type of the audio contained in this channel. Will be 0
, 1
or 2
, corresponding to AUDIOCHANNELTYPE_Mono
, AUDIOCHANNELTYPE_Stereo
, or AUDIOCHANNELTYPE_51
.
AudioChannelMapping.audioClipsNumber
Section titled “AudioChannelMapping.audioClipsNumber”app.project.rootItem.children[index].getAudioChannelMapping.audioClipsNumber
Description
Section titled “Description”The number of audio clips associated with this audio channel.
Methods
Section titled “Methods”AudioChannelMapping.setMappingForChannel()
Section titled “AudioChannelMapping.setMappingForChannel()”app.project.rootItem.children[index].setMappingForChannel(channelIndex, sourceChannelIndex)
Description
Section titled “Description”Maps a source channel to the specified channel index.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
channelIndex | Integer | The index of a channel to be mapped. |
sourceChannelIndex | Integer | The index of a source channel to map. |
Returns
Section titled “Returns”Returns true
if successful, false
if that mapping is unsupported.