uk.co.simphoney.audio
Class SInDoubleSource
java.lang.Object
uk.co.simphoney.audio.SInDoubleSource
- All Implemented Interfaces:
- DoubleDataSource
public class SInDoubleSource
- extends java.lang.Object
- implements DoubleDataSource
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SInDoubleSource
public SInDoubleSource(double freq,
double fs)
getChannels
public int getChannels()
- Specified by:
getChannels
in interface DoubleDataSource
readNextDouble
public void readNextDouble(double[] buffer,
int offSet,
int nFrame)
- Specified by:
readNextDouble
in interface DoubleDataSource
seekFrame
public void seekFrame(long pos)
- Specified by:
seekFrame
in interface DoubleDataSource
endOfFile
public boolean endOfFile()
- Specified by:
endOfFile
in interface DoubleDataSource
getCurrentFrame
public long getCurrentFrame()
- Specified by:
getCurrentFrame
in interface DoubleDataSource
getLengthInFrames
public long getLengthInFrames()
- Specified by:
getLengthInFrames
in interface DoubleDataSource