|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmarf.Storage.SampleLoader
marf.Storage.Loaders.AudioSampleLoader
marf.Storage.Loaders.ULAWLoader
public class ULAWLoader
TODO: Not Implemented.
| Field Summary |
|---|
| Fields inherited from class marf.Storage.Loaders.AudioSampleLoader |
|---|
oAudioFormat, oAudioInputStream, oEncoding |
| Fields inherited from class marf.Storage.SampleLoader |
|---|
fRequiredFrequency, iRequiredBitSize, iRequiredChannels, oByteArrayOutputStream, oSample |
| Fields inherited from interface marf.Storage.ISampleLoader |
|---|
DEFAULT_CHANNELS, DEFAULT_FREQUENCY, DEFAULT_SAMPLE_BIT_SIZE, MARF_INTERFACE_CODE_REVISION |
| Constructor Summary | |
|---|---|
ULAWLoader()
ULAWLoader Constructor. |
|
| Method Summary | |
|---|---|
static java.lang.String |
getMARFSourceCodeRevision()
Returns source code revision information. |
Sample |
loadSample(java.io.File poFile)
Not Implemented. |
int |
readSampleData(double[] padSample)
Not Implemented. |
void |
saveSample(java.io.File poFile)
Not Implemented. |
int |
writeSampleData(double[] padSample,
int piNbrData)
Not Implemented. |
| Methods inherited from class marf.Storage.Loaders.AudioSampleLoader |
|---|
getAudioFormat, getAudioInputStream, getEncoding, getSampleSize, loadSample, readAudioData, reset, setAudioFormat, setAudioInputStream, setEncoding, writeAudioData |
| Methods inherited from class marf.Storage.SampleLoader |
|---|
getRequiredBitSize, getRequiredChannels, getRequiredFrequency, getSample, loadSample, loadSample, saveSample, saveSample, saveSample, setRequiredBitSize, setRequiredChannels, setRequiredFrequency, 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 StorageException
loadSample in interface ISampleLoaderloadSample in class SampleLoaderpoFile - incoming sample File object
StorageException - if there was a problem loading the sampleISampleLoader.loadSample(java.io.File)
public final int readSampleData(double[] padSample)
throws StorageException
padSample - an array of doubles to store the data read
StorageException - if there was an error reading the dataISampleLoader.readSampleData(double[])
public final int writeSampleData(double[] padSample,
int piNbrData)
throws StorageException
padSample - an array of doublespiNbrData - the number of data items (words) to write from the padSampleData
StorageException - if there was an error loading the sampleISampleLoader.writeSampleData(double[], int)
public void saveSample(java.io.File poFile)
throws StorageException
saveSample in interface ISampleLoadersaveSample in class SampleLoaderpoFile - File object of a sample to be saved to
StorageException - if there was an error saving the sampleISampleLoader.saveSample(java.io.File)public static java.lang.String getMARFSourceCodeRevision()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||