Controls the audio tracks and a configuration of tracks.
Methods
AudioChannelsPerTrackGet
Gets an output number of channels per audio track.
Syntax
void AudioChannelsPerTrackGet(
out int _pnChannelsPerTrackSet
)
Parameters
_pnChannelsPerTrackSet - number of channels per track
Possible values:
0 - the original number of channels per track
1, 2, ... - a specific number of channels per track
AudioChannelsPerTrackSet
Sets an output number of channels per audio track.
Syntax
void AudioChannelsPerTrackSet(
int _pnChannelsPerTrack
)
Parameters
_pnChannelsPerTrack - number of channels per track
Possible values:
0 - the original number of channels per track
1, 2, ... - a specific number of channels per track
AudioSplitStringGet
Gets a string mask that separates audio channels into audio tracks.
Syntax
void AudioSplitStringGet(
out string _pbsSplitString,
out int _pnChannels
)
Parameters
_pbsSplitString - string mask that separates audio channels into audio tracks
_pnChannels - a number of input channels
AudioSplitStringSet
Sets string mask that separates audio channels into audio tracks. If there is no original tracks information, it is incorrect or you need to separate channels into tracks manually, use this method.
Syntax
void AudioSplitStringSet(
string _bsSplitString
)
Parameters
_pbsSplitString - string mask that separates audio channels into audio tracks
AudioTrackAdd
Adds a virtual audio track with a required subset of channels. Virtual track clones one of the already existing tracks.
Syntax
void AudioTrackAdd(
int _nSourceTrack,
string _bsUseChannels,
string _bsDesc,
out IMAudioTrack _ppTrack
)
Parameters
_nSourceTrack - index of a source track. This track will be cloned to create a new virtual track.
_bsUseChannels - a mask string that specifies channels taken from the source track
_bsDesc - a track description
_ppTrack - created audio track object
AudioTrackGetByIndex
Gets the input track by its index.
Syntax
void AudioTrackGetByIndex(
int _nIndex,
out string _pbsDesc,
out IMAudioTrack _ppTrack
)
Parameters
_nIndex - a track index
_pbsDesc - a description of the received track
_ppTrack - received track object
AudioTrackRemove
Removes a virtual audio track.
Syntax
void AudioTrackRemove(
IMAudioTrack _pTrack
)
Parameters
_pTrack - an audio track
AudioTracksGetCount
Gets a count of tracks.
Syntax
void AudioTracksGetCount(
out int _pnTracks
)
Parameters
_pnTracks - a number of audio tracks
AudioTracksSetCount
Sets the number of audio tracks. Use this method to set a number of output tracks in a playlist before adding files to it.
Syntax
void AudioTracksSetCount(
int _nTracks
)
Parameters
_nTracks - a number of audio tracks