TrackChannelsGet Method
number of input channels
index of first channel of this track in output stream
number of output channels
Gets the number of input track channels, the number of output channels and first channel index of this track in output stream.
Syntax
Sub TrackChannelsGet( _
   ByRef _pnInputChannels As Integer, _
   ByRef _pnOutputChannelIdx As Integer, _
   ByRef _pnOutputChannels As Integer _
) 
void TrackChannelsGet( 
   out int _pnInputChannels,
   out int _pnOutputChannelIdx,
   out int _pnOutputChannels
)
procedure TrackChannelsGet( 
   Out  _pnInputChannels: Integer;
   Out  _pnOutputChannelIdx: Integer;
   Out  _pnOutputChannels: Integer
); 
void TrackChannelsGet( 
   [PARAMFLAG::Out] int _pnInputChannels,
   [PARAMFLAG::Out] int _pnOutputChannelIdx,
   [PARAMFLAG::Out] int _pnOutputChannels
) 

Parameters

_pnInputChannels
number of input channels
_pnOutputChannelIdx
index of first channel of this track in output stream
_pnOutputChannels
number of output channels
Example
Dim nInputChannels As Integer
Dim nOutputChannels As Integer
Dim nOutputChannelIndex As Integer
track.TrackChannelsGet(nInputChannels, nOutputChannelIndex, nOutputChannels)
int nInputChannels;
int nOutputChannels;
int nOutputChannelIndex;
track.TrackChannelsGet(out nInputChannels, out nOutputChannelIndex, out nOutputChannels);
var
nInputChannels, nOutputChannels, nOutputChannelIndex: integer;
begin
track.TrackChannelsGet(nInputChannels, nOutputChannelIndex, nOutputChannels);
end;
See Also

Reference

IMAudioTrack Interface
IMAudioTrack Members