|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FrameSource
Once we leave the signal (i.e. sampled) level, we deal with frames. The Implementation of this interface allows for flexible combinations of the target algorithms. Usually, implementing objects receive an initialized source to read from.
Method Summary | |
---|---|
int |
getFrameSize()
Return the length of the frames (needed for the read call) |
boolean |
read(double[] buf)
Extract the next frame from the the source stream using a window function |
java.lang.String |
toString()
Return a String representation of the FrameSource |
Method Detail |
---|
int getFrameSize()
boolean read(double[] buf) throws java.io.IOException
buf
- buffer to save the frame; implementing objects may depend
on a constant dimensionduring subsequent calls
java.io.IOException
java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |