AudioChannelsPerTrackGet Method (MRendererClass)
number of channels per track
Possible values:
Gets output number of channels per audio track.
Syntax
Public Overridable Sub AudioChannelsPerTrackGet( _
   ByRef _pnChannelsPerTrackSet As Integer _
) 
public virtual void AudioChannelsPerTrackGet( 
   out int _pnChannelsPerTrackSet
)
public procedure AudioChannelsPerTrackGet( 
   Out  _pnChannelsPerTrackSet: Integer
); virtual; 
public: virtual void AudioChannelsPerTrackGet( 
   [PARAMFLAG::Out] int _pnChannelsPerTrackSet
) 

Parameters

_pnChannelsPerTrackSet
number of channels per track
Possible values:
  • 0 - original number of channels per track
  • 1, 2, ... - specific number of channels per track
Example
Dim nChannels As Integer
m_objMFile.AudioChannelsPerTrackGet(nChannels)
int nChannels;
m_objMFile.AudioChannelsPerTrackGet(out nChannels);
var
myFile: IMFile;
myAudio: IMAudio;
nChannels: integer;
begin
myFile:= CreateComObject(CLASS_MFile) as IMFile;
myAudio:= myFile as IMAudio;
myAudio.AudioChannelsPerTrackGet(nChannels);
end;
See Also

Reference

MRendererClass Class
MRendererClass Members