Skip to content

Commit 04f75b8

Browse files
committed
Reduce the buffer size back to what 2.x has. Increase was leftover
from debugging.
1 parent 22b7cd3 commit 04f75b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • ports/atmel-samd/common-hal/audiobusio

ports/atmel-samd/common-hal/audiobusio/PDMIn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
#include "tick.h"
5151

5252
#define OVERSAMPLING 64
53-
#define SAMPLES_PER_BUFFER 64
53+
#define SAMPLES_PER_BUFFER 32
5454

5555
// MEMS microphones must be clocked at at least 1MHz.
5656
#define MIN_MIC_CLOCK 1000000

0 commit comments

Comments
 (0)