|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object marf.Storage.SampleLoader marf.Storage.Loaders.ULAWLoader
Not Implemented
Field Summary |
Fields inherited from class marf.Storage.SampleLoader |
oAudioFormat, oAudioInputStream, oByteArrayOutputStream, oSample |
Constructor Summary | |
ULAWLoader()
ULAWLoader Constructor |
Method Summary | |
Sample |
loadSample(java.io.File poFile)
Not Implemented |
int |
readAudioData(double[] pSample)
Not Implemented |
void |
saveSample(java.io.File poFile)
Not Implemented |
int |
writeAudioData(double[] pSample,
int nbrData)
Not Implemented |
Methods inherited from class marf.Storage.SampleLoader |
getSample, getSampleSize, loadSample, reset, saveSample, setSample, updateSample |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ULAWLoader()
Method Detail |
public Sample loadSample(java.io.File poFile) throws java.lang.Exception
loadSample
in class SampleLoader
poFile
- file object a sample to be read from
java.lang.Exception
public final int readAudioData(double[] pSample) throws java.lang.Exception
readAudioData
in class SampleLoader
pSample
- an array of doubles
java.lang.Exception
public final int writeAudioData(double[] pSample, int nbrData) throws java.lang.Exception
writeAudioData
in class SampleLoader
pSample
- an array of doublesnbrData
- the number of audio data to written from the paiAudiodata
java.lang.Exception
public void saveSample(java.io.File poFile) throws java.lang.Exception
saveSample
in class SampleLoader
poFile
- File object a sample to be saved to
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |