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. |
||
---|---|---|
.. | ||
atmel-samd | ||
cxd56 | ||
nrf | ||
stm32f4 | ||
unix |