Aurigma Graphics Mill 5.5 for .NET
AviAudioManager..::.AddAudioStream Method (String, Int32, Int32, Boolean)
Adds the audio stream from the specified WAV file.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill.Codecs.AviProcessor (in Aurigma.GraphicsMill.Codecs.AviProcessor.dll)
Syntax
Visual Basic
Public Function AddAudioStream ( _ fileName As String, _ sourceOffset As Integer, _ duration As Integer, _ cutToVideoDuration As Boolean _ ) As Integer
C#
public int AddAudioStream( string fileName, int sourceOffset, int duration, bool cutToVideoDuration )
Parameters
- fileName
-
Type: System..::.String
A name of the WAV file to load the audio data from.
- sourceOffset
-
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 source file.
- duration
-
Type: System..::.Int32
A length of the audio data (in 1/100 of seconds) to add.
- cutToVideoDuration
-
Type: System..::.Boolean
A Boolean value that specifies whether to truncate audio data to fit the duration of the video.