public abstract class SampleBuffer extends AbstractFilter
sampleSize, source| Constructor and Description | 
|---|
SampleBuffer(SampleProvider source,
            int bufferSize)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
fetchSample(float[] sample,
           int off)
Fetches a sample from a sensor or filter. 
 | 
protected int | 
getActualSize()  | 
int | 
getBufferSize()  | 
protected void | 
getOldest(float[] sample,
         int off)  | 
sampleSizepublic SampleBuffer(SampleProvider source, int bufferSize)
public int getBufferSize()
public void fetchSample(float[] sample,
                        int off)
SampleProviderfetchSample in interface SampleProviderfetchSample in class AbstractFiltersample - The array to store the sample in.off - The elements of the sample are stored in the array starting at the offset position.protected void getOldest(float[] sample,
                         int off)
protected int getActualSize()