|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectas.clynx.audio.enc.AbstractDecoder
public abstract class AbstractDecoder
The class AbstractDecoder.java specifies the encoding of all inputdatas. all audiofiles are converted into the specified format before further anaysis, normalization and multiplexing takes place.
Field Summary | |
---|---|
static int |
_11025Hz
|
static int |
_22050Hz
|
static int |
_44100Hz
|
static int |
MONO
|
static int |
QUAD
|
static int |
STEREO
|
Constructor Summary | |
---|---|
AbstractDecoder(javax.sound.sampled.AudioFormat.Encoding encoding,
boolean bigEndian,
int bitRate,
int sampleRate,
int channels,
SettingControl settings)
Constructor |
Method Summary | |
---|---|
abstract javax.sound.sampled.AudioInputStream |
decode(java.io.File file)
decodes a file to the specified format. so all imported files have the same format for processing. |
javax.sound.sampled.AudioFormat |
getDecodedFormat()
returns the decoded format |
SettingControl |
getSettings()
returns the SettingControl |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int QUAD
public static int STEREO
public static int MONO
public static int _11025Hz
public static int _22050Hz
public static int _44100Hz
Constructor Detail |
---|
public AbstractDecoder(javax.sound.sampled.AudioFormat.Encoding encoding, boolean bigEndian, int bitRate, int sampleRate, int channels, SettingControl settings)
encoding
- bigEndian
- bitRate
- sampleRate
- channels
- settings
- Method Detail |
---|
public abstract javax.sound.sampled.AudioInputStream decode(java.io.File file) throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
file
-
javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException
public javax.sound.sampled.AudioFormat getDecodedFormat()
public SettingControl getSettings()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |