Class AudioFileSource
- Namespace
- VisioForge.Core.Types.X.VideoEdit
- Assembly
- VisioForge.Core.dll
Audio file source used in Video Edit SDK.
public class AudioFileSourceInheritance
Inherited Members
Constructors
AudioFileSource(string, TimeSpan?, TimeSpan?, int, double)
Initializes a new instance of the VisioForge.Core.Types.X.VideoEdit.AudioFileSource class.
public AudioFileSource(string filename, TimeSpan? startTime = null, TimeSpan? stopTime = null, int streamNumber = 0, double rate = 1)Parameters
filenamestring-
File name.
startTimeTimeSpan?-
Start time. Set to -1 start and stop time to add full file.
stopTimeTimeSpan?-
Stop time. Set to -1 start and stop time to add full file.
streamNumberint-
Stream number.
ratedouble-
Playback rate. 1.0 - 100%, 2.0 - 200%, 0.5 = 50%.
AudioFileSource(string, FileSegment[], int, double)
Initializes a new instance of the VisioForge.Core.Types.X.VideoEdit.AudioFileSource class.
public AudioFileSource(string filename, FileSegment[] segments, int streamNumber = 0, double rate = 1)Parameters
filenamestring-
File name.
segmentsFileSegment[]-
Segments list.
streamNumberint-
Stream number.
ratedouble-
Playback rate. 1.0 - 100%, 2.0 - 200%, 0.5 = 50%. .
Properties
Effects
Gets the audio effects.
public List<IVideoEditXAudioEffect> Effects { get; }Property Value
Filename
Gets or sets audio file name.
public string Filename { get; set; }Property Value
Rate
Gets or sets playback rate. 1.0 - 100%, 2.0 - 200%, 0.5 = 50%.
public double Rate { get; set; }Property Value
Segments
Gets or sets segments list for the file.
public FileSegment[] Segments { get; set; }Property Value
StreamNumber
Gets or sets stream number.
public int StreamNumber { get; set; }