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)

Syntax

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

Parameters

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).

Remarks

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

Note

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

See Also

Reference