circuitpython/shared-module
Jeff Epler 0722dafc24 audiomixer: Fix garbled playback when voice 0 is stopped, audio pops
There were two main problems
 - word_buffer was being filled as though with unsigned samples,
   but during mixing all samples are kept in signed mode
 - If the first buffer was stopped, the voices_active flag got set
   anyway, even though the output buffer wasn't initialized yet,
   so the samples were mixed with indeterminate data

We also cover the case where no buffer was playing, and ensure
the output buffer is filled.

This now works much better.  Tested on neotrellis m4 playing back
4 mp3 streams at a time in signed-16, 22050Hz
2020-06-01 19:14:38 -05:00
..
_bleio ringbuf tested 2020-04-21 22:40:12 -04:00
_eve Correct the BitmapTransform operations. 2020-02-10 19:34:38 -08:00
_pew Add better PewPew error messages and update translations 2019-03-12 17:21:15 -07:00
_pixelbuf Allow setting RGBW pixels with RGB tuples 2020-05-24 20:35:13 -04:00
_stage circuitpython-stage: allow choosing background color 2020-01-30 15:24:04 +01:00
aesio aesio: add basic AES encryption and decryption 2020-05-06 17:40:06 +08:00
audiocore audiocore: The arguments to reset_buffer went missing 2019-12-13 18:31:12 -06:00
audioio bring MixerVoice back to building state; update documentation 2019-08-03 11:20:06 -05:00
audiomixer audiomixer: Fix garbled playback when voice 0 is stopped, audio pops 2020-06-01 19:14:38 -05:00
audiomp3 Fix more build problems 2020-01-06 13:35:43 -06:00
audiopwmio audiopwmio: Add the shared files for this new module 2019-07-26 07:52:37 -05:00
bitbangio new pin validation routines; don't use mp_const_none if NULL will do 2020-02-28 23:43:04 -05:00
board Enable showing the console on a debug uart 2020-05-19 02:02:52 +02:00
busio add timeout keyword to I2C - for bitbangio - ignored for busio 2018-05-13 21:54:44 -04:00
displayio vectorio: clean up after group removal 2020-05-10 15:36:23 -07:00
fontio Move Glyph and BuiltinFont into fontio 2019-03-19 16:22:09 -07:00
framebufferio Merge remote-tracking branch 'adafruit/master' into lower_power 2020-04-20 18:25:13 -07:00
gamepad Gamepad & GamepadShift: Enable ticks while object exists 2020-05-13 10:14:37 -05:00
gamepadshift Gamepad & GamepadShift: Enable ticks while object exists 2020-05-13 10:14:37 -05:00
multiterminal Merge tag 'v1.9.3' 2017-11-02 12:41:50 -07:00
network Supervisor: move most of systick to the supervisor 2019-11-18 11:01:23 -06:00
os Revert subscr signature change 2019-12-13 14:29:15 -05:00
random Introduce a random module that is a subset of CPython's random. It 2017-06-27 17:37:24 -07:00
rgbmatrix RGBMatrix: finish renaming from Protomatter 2020-04-17 18:44:07 -05:00
socket modify modnetwork and modusocket for circuitpython 2018-10-04 22:02:25 +10:00
storage Added fix to allow remount when usb enabled but msc is ejected 2020-02-12 09:57:58 +02:00
struct struct.pack_into incorrect buffer size check 2019-01-21 11:45:38 -05:00
terminalio fix terminalio not clearing on construct 2019-08-08 14:58:51 -04:00
time Fix up Spresense build. It doesn't sleep. 2020-03-17 14:21:45 -07:00
touchio Detect lack of pulldown; check for pin in use 2019-08-19 23:40:34 -04:00
uheap uheap: Switch to using gc_nbytes to measure allcoation size so we stop undercounting. 2016-11-23 17:32:50 -08:00
usb_hid First try at lowering the power consumption 2020-03-13 11:12:30 -07:00
usb_midi update tinyusb lib to 0.5.x 2019-07-24 16:46:31 +07:00
ustack Measure and report maximum stack usage. (#175) 2017-07-23 15:32:05 -04:00
vectorio remove a duplication in polygon.c 2020-05-18 13:32:06 -07:00
wiznet rename routines to be clearer; fix wiznet arg types 2020-03-05 16:35:31 -05:00