This documentation is for the old version. Go to the latest Graphics Mill docs

AviAudioManager.GetChannelCount Method

Returns the number of channels in the specified audio stream.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill.Codecs.AviProcessor (in Aurigma.GraphicsMill.Codecs.AviProcessor.dll)


Visual Basic
Public Function GetChannelCount ( _
	streamIndex As Integer _
) As Integer
public int GetChannelCount(
	int streamIndex



Type: System.Int32

An index of the audio stream.

Return Value

An integer value which contains the number of channels in the audio stream.

E.g. if this value is 1, the audio stream is mono. If it is 2, the audio stream is stereo. More channels are possible as well (e.g. for quadro or Dolby Surround, etc).


Stream indexes are zero-based. To get the total number of audio streams, use the AudioStreamCount property.


You can use this member only if you get this instance of the AviAudioManager from the reader object.

See Also