aabb56c840
If we put no samples into the buffer, then there is no last sample to fill out hold_value with. (and, in fact, the expression such as *(uint32_t*)(buffer-4) is outside an allocated region) Detect this condition, and leave the prior value in place. This improves clicks heard when pausing and resuming a waveform. |
||
---|---|---|
.. | ||
I2SOut.c | ||
I2SOut.h | ||
PDMIn.c | ||
PDMIn.h | ||
__init__.c |