org.jscience.media.audio.dsp.processors
Class Cache

java.lang.Object
  extended by org.jscience.media.audio.dsp.AbstractAudio
      extended by org.jscience.media.audio.dsp.processors.Cache
All Implemented Interfaces:
Named

public class Cache
extends AbstractAudio

DOCUMENT ME!


Field Summary
 
Fields inherited from class org.jscience.media.audio.dsp.AbstractAudio
ALLTYPES, MONITOR, next, NOTYPE, previous, PROCESSOR, SAMPLEBUFFERSIZE, SINK, SOURCE
 
Constructor Summary
Cache()
          Creates a new Cache object.
 
Method Summary
 int getSamples(short[] buffer, int length)
          DOCUMENT ME!
 void reset()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.media.audio.dsp.AbstractAudio
doReset, equals, getByPass, getName, getNumberOfChannels, getSamplingRate, hexo, hexo, hexo, hexo, minMaxChannels, minMaxSamplingRate, negotiateNumberOfChannels, negotiateSamplingRate, o, propagateReset, setByPass, setChannelsRecursive, setNumberOfChannels, setSamplingRate, setSamplingRateRecursive, toString, typeString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cache

public Cache()
Creates a new Cache object.

Method Detail

reset

public void reset()
DOCUMENT ME!

Overrides:
reset in class AbstractAudio

getSamples

public int getSamples(short[] buffer,
                      int length)
DOCUMENT ME!

Specified by:
getSamples in class AbstractAudio
Parameters:
buffer - DOCUMENT ME!
length - DOCUMENT ME!
Returns:
DOCUMENT ME!