Add MOD test, update DIVIDER name (#451)

Fixes #449
This commit is contained in:
Earle F. Philhower, III authored and GitHub committed 2021-11-28 16:20:05 -08:00
1 parent 86a1818da5
commit e254ad9543
5 files changed
+46 -9

No files matched your search

+5
View File
@@ -54,6 +54,11 @@ bool AudioOutputSTDIO::begin()
bool AudioOutputSTDIO::ConsumeSample(int16_t sample[2])
{
static int avail = 100;
if (!(--avail)) {
avail = 100;
return false;
}
for (int i=0; i<channels; i++) {
if (bps == 8) {
uint8_t l = sample[i] & 0xff;