uk.co.simphoney.audio
Class CycliclyBufferedAudio
java.lang.Object
uk.co.simphoney.audio.CycliclyBufferedAudio
public class CycliclyBufferedAudio
- extends java.lang.Object
Implementation of a cyclic buffer.
This buffer is fed using the in.processAudio(buff);
this returns OVERFLOW if the buffer is full
You read the buffer using out.processAudio(buff);
this will block if no data is ready
- Author:
- pjl
Field Summary |
uk.org.toot.audio.core.AudioProcess |
in
|
uk.org.toot.audio.core.AudioProcess |
out
|
static int |
OVERFLOW
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OVERFLOW
public static final int OVERFLOW
- See Also:
- Constant Field Values
in
public final uk.org.toot.audio.core.AudioProcess in
out
public final uk.org.toot.audio.core.AudioProcess out
CycliclyBufferedAudio
public CycliclyBufferedAudio(int cacheSize)
getLag
public int getLag()