circuitpython/ports/nrf/common-hal/audiobusio
Jeff Epler aabb56c840 nrf: i2sout: Only update hold_value when appropriate
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.
2019-11-22 13:54:37 -06:00
..
I2SOut.c nrf: i2sout: Only update hold_value when appropriate 2019-11-22 13:54:37 -06:00
I2SOut.h nrf: Add i2s audio output 2019-09-08 16:46:35 -05:00
PDMIn.c nrf: PDMIn: Implement 2019-08-18 15:58:04 -05:00
PDMIn.h nrf: PDMIn: Implement 2019-08-18 15:58:04 -05:00
__init__.c nrf: stub out audiobusio.PDMIn, audiobusio.I2SOut 2019-08-18 15:55:57 -05:00