AudioChannelsPerTrackSet Method (MFileClass)
number of channels per track
Possible values:
Sets number of output channels per track.
Syntax
Public Overridable Sub AudioChannelsPerTrackSet( _
   ByVal _nChannelsPerTrack As Integer _
) 
public virtual void AudioChannelsPerTrackSet( 
   int _nChannelsPerTrack
)
public procedure AudioChannelsPerTrackSet( 
    _nChannelsPerTrack: Integer
); virtual; 
public: virtual void AudioChannelsPerTrackSet( 
   int _nChannelsPerTrack
) 

Parameters

_nChannelsPerTrack
number of channels per track
Possible values:
  • 0 - sets original nuber of channels per track.
  • 1, 2, ... - sets specific number of channels per track.
Example
m_objMFile.AudioChannelsPerTrackSet(4)
m_objMFile.AudioChannelsPerTrackSet(4);
var
myFile: IMFile;
myAudio: IMAudio;
begin
myFile:= CreateComObject(CLASS_MFile) as IMFile;
myAudio:= myFile as IMAudio;
myAudio.AudioChannelsPerTrackSet(4);
end;
See Also

Reference

MFileClass Class
MFileClass Members