Click or drag to resize
AudioCompressionManagerRemove Method (String, String, Int32, Int32)
Remove part audio data from file.

Namespace: Alvas.Audio
Assembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax
public static void Remove(
	string inFile,
	string outFile,
	int fromSeconds,
	int duration
)

Parameters

inFile
Type: SystemString
input file
outFile
Type: SystemString
output file
fromSeconds
Type: SystemInt32
start position(in seconds)
duration
Type: SystemInt32
duration (in seconds)
Examples
This example shows simple using of Remove method.
string inFile = "in.wav"; 
string outFile = "out.wav"; 
int fromSeconds = 0;
int duration = 1;
AudioCompressionManager.Remove(inFile, outFile, fromSeconds, duration);
See Also