diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2018-05-02 15:21:43 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2018-05-02 15:21:43 -0700 |
| commit | 04f75b8903376797ff7ec5f7185c4a52b63db534 (patch) | |
| tree | c76d2dba27c27506ab6846ac64aee36ab28626bd | |
| parent | 22b7cd3d519255f9d7c72c5265d3da0a68de638c (diff) | |
Reduce the buffer size back to what 2.x has. Increase was leftover
from debugging.
| -rw-r--r-- | ports/atmel-samd/common-hal/audiobusio/PDMIn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/atmel-samd/common-hal/audiobusio/PDMIn.c b/ports/atmel-samd/common-hal/audiobusio/PDMIn.c index 8cf86421c..44129eed1 100644 --- a/ports/atmel-samd/common-hal/audiobusio/PDMIn.c +++ b/ports/atmel-samd/common-hal/audiobusio/PDMIn.c @@ -50,7 +50,7 @@ #include "tick.h" #define OVERSAMPLING 64 -#define SAMPLES_PER_BUFFER 64 +#define SAMPLES_PER_BUFFER 32 // MEMS microphones must be clocked at at least 1MHz. #define MIN_MIC_CLOCK 1000000 |
