uk.co.simphoney.audio
Class SInDoubleSource

java.lang.Object
  extended by uk.co.simphoney.audio.SInDoubleSource
All Implemented Interfaces:
DoubleDataSource

public class SInDoubleSource
extends java.lang.Object
implements DoubleDataSource


Constructor Summary
SInDoubleSource(double freq, double fs)
           
 
Method Summary
 boolean endOfFile()
           
 int getChannels()
           
 long getCurrentFrame()
           
 long getLengthInFrames()
           
 void readNextDouble(double[] buffer, int offSet, int nFrame)
           
 void seekFrame(long pos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SInDoubleSource

public SInDoubleSource(double freq,
                       double fs)
Method Detail

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