circuitpython/ports/nrf/common-hal/audiopwmio
Jeff Epler 77bc1ba03e nrf: PWMAudioOut: Remove the need to wait in "pause"
The original formulation was because I saw the need to avoid a transition
from playing to stopped exactly when a resume was taking place.  However,
@tannewt was concerned about this pause causing trouble, because it could
be relatively lengthy (several ms even in a typical case).

After reflection, I've convinced myself that updating the registers
in this order in resume avoids a window where a "stopped" event can
be missed as long as the shortcut is updated first.

Testing re-performed: pause/resume testing of looped RawSample and
WaveFile audio sources.
2019-08-03 08:19:25 -05:00
..
PWMAudioOut.c nrf: PWMAudioOut: Remove the need to wait in "pause" 2019-08-03 08:19:25 -05:00
PWMAudioOut.h PWM audio: Rename AudioOut -> PWMAudioOut, _audioio_ -> _audiopwmio_ 2019-07-29 18:39:00 -04:00
__init__.c ports/nrf: Implement audioio.AudioOut using PWM 2019-07-26 07:57:11 -05:00