|
|||||||||||
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 |
iRequiredBitSize, iRequiredChannels, iRequiredFrequency, oAudioFormat, oAudioInputStream, oByteArrayOutputStream, oSample |
Fields inherited from interface marf.Storage.ISampleLoader |
DEFAULT_CHANNELS, DEFAULT_FREQUENCY, DEFAULT_SAMPLE_BIT_SIZE, INTERFACE_CODE_REVISION |
Constructor Summary | |
ULAWLoader()
ULAWLoader Constructor. |
Method Summary | |
static java.lang.String |
getRevision()
Returns source code revision information. |
marf.Storage.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 marf.Storage.Sample loadSample(java.io.File poFile) throws StorageException
poFile
- file object a sample to be read from
StorageException
public final int readAudioData(double[] pSample) throws StorageException
pSample
- an array of doubles
StorageException
- if there was an error reading audio datapublic final int writeAudioData(double[] pSample, int nbrData) throws StorageException
pSample
- an array of doublesnbrData
- the number of audio data to written from the paiAudiodata
StorageException
- if there was an error loading the samplepublic void saveSample(java.io.File poFile) throws StorageException
poFile
- File object of a sample to be saved to
StorageException
- if there was an error saving the samplepublic static java.lang.String getRevision()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |