Jeff Epler 39c64bf83c samd: audio_dma_stop: don't free invalid channel
audio_dma_stop can be reached twice in normal usage of AudioOut.

This may bear further investigation, but stop it here, by making the
function check for a previously freed channel number.  This also prevents
the event channel from being disabled twice.

The first stop location is from audio_dma_get_playing, when the buffers
are exhausted; the second is from common_hal_audioio_audioout_stop when
checking the 'playing' flag.
2019-08-06 22:00:31 -05:00
..
2018-07-11 16:45:30 -04:00
2019-07-05 10:01:51 -07:00
2018-07-28 23:40:17 -04:00
2018-07-11 16:45:30 -04:00
2019-07-24 16:31:25 -04:00
2018-07-11 16:45:30 -04:00
2018-07-11 16:45:30 -04:00