Saves a portion of 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)
Public Sub ExportAudioStream ( _ streamIndex As Integer, _ fileName As String, _ sourceOffset As Integer, _ duration As Integer _ )
public void ExportAudioStream( int streamIndex, string fileName, int sourceOffset, int duration )
Type: System.Int32
An index of the audio stream.Type: System.String
A name of the destination WAV file.Type: System.Int32
An offset of the source audio data (in 1/100 of seconds). In other words, how many data to skip from the sound track.Type: System.Int32
A length of the audio data (in 1/100 of seconds) to extract.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.