Table of Contents

Class AudioFileSource

Namespace
VisioForge.Core.Types.X.VideoEdit
Assembly
VisioForge.Core.dll

Audio file source used in Video Edit SDK.

public class AudioFileSource

Inheritance

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

filename string

File name.

startTime TimeSpan?

Start time. Set to -1 start and stop time to add full file.

stopTime TimeSpan?

Stop time. Set to -1 start and stop time to add full file.

streamNumber int

Stream number.

rate double

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

filename string

File name.

segments FileSegment[]

Segments list.

streamNumber int

Stream number.

rate double

Playback rate. 1.0 - 100%, 2.0 - 200%, 0.5 = 50%. .

Properties

Effects

Gets the audio effects.

public List<IVideoEditXAudioEffect> Effects { get; }

Property Value

List<IVideoEditXAudioEffect>

Filename

Gets or sets audio file name.

public string Filename { get; set; }

Property Value

string

Rate

Gets or sets playback rate. 1.0 - 100%, 2.0 - 200%, 0.5 = 50%.

public double Rate { get; set; }

Property Value

double

Segments

Gets or sets segments list for the file.

public FileSegment[] Segments { get; set; }

Property Value

FileSegment[]

StreamNumber

Gets or sets stream number.

public int StreamNumber { get; set; }

Property Value

int