Returns the duration of the specified audio stream.

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

Syntax

Visual Basic

Public Function GetDuration ( _
	streamIndex As Integer _
) As Integer

C#

public int GetDuration(
	int streamIndex
)

Parameters

streamIndex

Type: System..::.Int32

An index of the audio stream.

Return Value

An integer value which contains the duration of the specified audio stream. It is measured in 1/100 of seconds.

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.