Saves the audio stream with specified index to a separate WAV file.

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

Syntax

Visual Basic

Public Sub ExportAudioStream ( _
	streamIndex As Integer, _
	fileName As String _
)

C#

public void ExportAudioStream(
	int streamIndex,
	string fileName
)

Parameters

streamIndex

Type: System..::.Int32

An index of the audio stream.
fileName

Type: System..::.String

A name of the destination WAV file.

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.