C# Class javazoom.jl.converter.Converter

The Converter class implements the conversion of an MPEG audio file to a .WAV file. To convert an MPEG audio stream, just create an instance of this class and call the {@link convert() convert()} method, passing in the names of the input and output files. You can pass in optional ProgressListener and Decoder.Params objects also to customize the conversion. *
Show file Open project: RHY3756547/FreeSO Class Usage Examples

Public Methods

Method Description
Converter ( ) : System

Creates a new converter instance.

convert ( System sourceName, System destName ) : void
convert ( System sourceName, System destName, ProgressListener progressListener ) : void
convert ( System sourceName, System destName, ProgressListener progressListener, Decoder decoderParams ) : void

Protected Methods

Method Description
countFrames ( System in_Renamed ) : int
openInput ( System fileName ) : System.IO.Stream

Method Details

Converter() public method

Creates a new converter instance.
public Converter ( ) : System
return System

convert() public method

public convert ( System sourceName, System destName ) : void
sourceName System
destName System
return void

convert() public method

public convert ( System sourceName, System destName, ProgressListener progressListener ) : void
sourceName System
destName System
progressListener ProgressListener
return void

convert() public method

public convert ( System sourceName, System destName, ProgressListener progressListener, Decoder decoderParams ) : void
sourceName System
destName System
progressListener ProgressListener
decoderParams javazoom.jl.decoder.Decoder
return void

countFrames() protected method

protected countFrames ( System in_Renamed ) : int
in_Renamed System
return int

openInput() protected method

protected openInput ( System fileName ) : System.IO.Stream
fileName System
return System.IO.Stream