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