libnxter
0.1
|
A sampler to sample a stream of inputs at periodic interval. More...
Go to the source code of this file.
Data Structures | |
struct | SamplerContext |
The class to hold sampler context. More... | |
Functions | |
void | SamplerInit (SamplerContext &context, int currentPosition, int samplingPeriod) |
Initializes the sampler with given sampling period and initial position. | |
int | SamplerGet (SamplerContext &context, int currentPosition, int sampleInput) |
Returns sampleInput at the sampling periods and -1 for all others. | |
A sampler to sample a stream of inputs at periodic interval.
Definition in file Sampler.nxc.