FastLED 3.9.15
Loading...
Searching...
No Matches

◆ geti16All()

bool fl::WaveSimulation1D::geti16All ( size_t x,
int16_t * curr,
int16_t * prev,
int16_t * diff ) const

Definition at line 279 of file wave_simulation.cpp.

280 {
281 if (!has(x))
282 return false;
283 *curr = geti16(x);
284 *prev = geti16Previous(x);
285 *diff = *curr - *prev;
286 return true;
287}
int x
Definition Audio.ino:71
int16_t geti16(size_t x) const
bool has(size_t x) const
int16_t geti16Previous(size_t x) const

References geti16(), geti16Previous(), has(), and x.

+ Here is the call graph for this function: