Dim track As IMAudioTrack
'Create new virtual track as full clone of 0 track
m_objMFile.AudioTrackAdd(0, "", "NewTrack", track)
'Create new virtual track as clone of 1,2,4 channels of 2 track
m_objMFile.AudioTrackAdd(2, "1,2,4", "NewTrack", track)
IMAudioTrack track;
//Create new virtual track as full clone of 0 track
m_objMFile.AudioTrackAdd(0, "", "NewTrack", out track);
//Create new virtual track as clone of 1,2,4 channels of 2 track
m_objMFile.AudioTrackAdd(2, "1,2,4", "NewTrack", out track);
var
track: IMAudioTrack;
begin
//Create new virtual track as full clone of 0 track
mAudio.AudioTrackAdd(0, '', 'NewTrack', out track);
//Create new virtual track as clone of 1,2,4 channels of 2 track
mAudio.AudioTrackAdd(2, '1,2,4', 'NewTrack', track);
end;