C# Class yeti.wma.WmaFunctions

Show file Open project: mtscout6/yeti

Public Methods

Method Description
Combine ( Stream outputStream ) : void

Combines files into one in the order they are passed in..

Combine ( Stream outputStream, int bufferMultiplier ) : void

Combines files into one in the order they are passed in..

Combine ( string outputFile ) : void

Combines files into one in the order they are passed in..

Combine ( string outputFile, int bufferMultiplier ) : void

Combines files into one in the order they are passed in..

Split ( Stream inputStream, Stream outputStream, System.TimeSpan startTime, System.TimeSpan endTime ) : void

Cuts out a smaller portion of a Wma file.

Split ( Stream inputStream, Stream outputStream, System.TimeSpan startTime, System.TimeSpan endTime, int bufferMultiplier ) : void

Cuts out a smaller portion of a Wma file.

Split ( Stream inputStream, string outputFile, System.TimeSpan startTime, System.TimeSpan endTime ) : void

Cuts out a smaller portion of a Wma file.

Split ( Stream inputStream, string outputFile, System.TimeSpan startTime, System.TimeSpan endTime, int bufferMultiplier ) : void

Cuts out a smaller portion of a Wma file.

Split ( string inputFile, Stream outputStream, System.TimeSpan startTime, System.TimeSpan endTime ) : void

Cuts out a smaller portion of a Wma file.

Split ( string inputFile, Stream outputStream, System.TimeSpan startTime, System.TimeSpan endTime, int bufferMultiplier ) : void

Cuts out a smaller portion of a Wma file.

Split ( string inputFile, string outputFile, System.TimeSpan startTime, System.TimeSpan endTime ) : void

Cuts out a smaller portion of a Wma file.

Split ( string inputFile, string outputFile, System.TimeSpan startTime, System.TimeSpan endTime, int bufferMultiplier ) : void

Cuts out a smaller portion of a Wma file.

Private Methods

Method Description
WriteFile ( yeti.wma.WmaWriter wmaOutput, yeti.wma.WmaStreamReader wmaInput, byte buffer ) : void
WriteFile ( yeti.wma.WmaWriter wmaOutput, yeti.wma.WmaStreamReader wmaInput, byte buffer, long stopPosition ) : void

Method Details

Combine() public static method

Combines files into one in the order they are passed in..
public static Combine ( Stream outputStream ) : void
outputStream Stream The stream to save the combined file to.
return void

Combine() public static method

Combines files into one in the order they are passed in..
public static Combine ( Stream outputStream, int bufferMultiplier ) : void
outputStream Stream The stream to save the combined file to.
bufferMultiplier int The multiplier to use against the OptimalBufferSize of the file for the read buffer, sometimes a larger than optimal buffer size is better.
return void

Combine() public static method

Combines files into one in the order they are passed in..
public static Combine ( string outputFile ) : void
outputFile string The file path to save the combined file to.
return void

Combine() public static method

Combines files into one in the order they are passed in..
public static Combine ( string outputFile, int bufferMultiplier ) : void
outputFile string The file path to save the combined file to.
bufferMultiplier int The multiplier to use against the OptimalBufferSize of the file for the read buffer, sometimes a larger than optimal buffer size is better.
return void

Split() public static method

Cuts out a smaller portion of a Wma file.
public static Split ( Stream inputStream, Stream outputStream, System.TimeSpan startTime, System.TimeSpan endTime ) : void
inputStream Stream The input stream.
outputStream Stream The stream to write the split portion of the file to.
startTime System.TimeSpan The time that the split from the source file should start.
endTime System.TimeSpan The time that the split from the source file should end.
return void

Split() public static method

Cuts out a smaller portion of a Wma file.
public static Split ( Stream inputStream, Stream outputStream, System.TimeSpan startTime, System.TimeSpan endTime, int bufferMultiplier ) : void
inputStream Stream The input stream.
outputStream Stream The stream to write the split portion to.
startTime System.TimeSpan The time that the split from the source stream should start.
endTime System.TimeSpan The time that the split from the source stream should end.
bufferMultiplier int The multiplier to use against the OptimalBufferSize of the file for the read buffer, sometimes a larger than optimal buffer size is better.
return void

Split() public static method

Cuts out a smaller portion of a Wma file.
public static Split ( Stream inputStream, string outputFile, System.TimeSpan startTime, System.TimeSpan endTime ) : void
inputStream Stream The input stream.
outputFile string the output file path.
startTime System.TimeSpan The time that the split from the source file should start.
endTime System.TimeSpan The time that the split from the source file should end.
return void

Split() public static method

Cuts out a smaller portion of a Wma file.
public static Split ( Stream inputStream, string outputFile, System.TimeSpan startTime, System.TimeSpan endTime, int bufferMultiplier ) : void
inputStream Stream The input stream.
outputFile string The output file path.
startTime System.TimeSpan The time that the split from the source file should start.
endTime System.TimeSpan The time that the split from the source file should end.
bufferMultiplier int The multiplier to use against the OptimalBufferSize of the file for the read buffer, sometimes a larger than optimal buffer size is better.
return void

Split() public static method

Cuts out a smaller portion of a Wma file.
public static Split ( string inputFile, Stream outputStream, System.TimeSpan startTime, System.TimeSpan endTime ) : void
inputFile string The input file path.
outputStream Stream The stream to write the split portion of the file to.
startTime System.TimeSpan The time that the split from the source file should start.
endTime System.TimeSpan The time that the split from the source file should end.
return void

Split() public static method

Cuts out a smaller portion of a Wma file.
public static Split ( string inputFile, Stream outputStream, System.TimeSpan startTime, System.TimeSpan endTime, int bufferMultiplier ) : void
inputFile string The input file path.
outputStream Stream The stream to write the split portion of the file to.
startTime System.TimeSpan The time that the split from the source file should start.
endTime System.TimeSpan The time that the split from the source file should end.
bufferMultiplier int The multiplier to use against the OptimalBufferSize of the file for the read buffer, sometimes a larger than optimal buffer size is better.
return void

Split() public static method

Cuts out a smaller portion of a Wma file.
public static Split ( string inputFile, string outputFile, System.TimeSpan startTime, System.TimeSpan endTime ) : void
inputFile string The input file path.
outputFile string The output file path.
startTime System.TimeSpan The time that the split from the source file should start.
endTime System.TimeSpan The time that the split from the source file should end.
return void

Split() public static method

Cuts out a smaller portion of a Wma file.
public static Split ( string inputFile, string outputFile, System.TimeSpan startTime, System.TimeSpan endTime, int bufferMultiplier ) : void
inputFile string The input file path.
outputFile string The output file path.
startTime System.TimeSpan The time that the split from the source file should start.
endTime System.TimeSpan The time that the split from the source file should end.
bufferMultiplier int The multiplier to use against the OptimalBufferSize of the file for the read buffer, sometimes a larger than optimal buffer size is better.
return void