Skip to content

Commit 87c15a3

Browse files
committed
Increased default gain to 24db
1 parent c44ef02 commit 87c15a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/PDM/src/stm32/PDM.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ int PDMClass::begin(int channels, long sampleRate) {
6666
_samplerate = sampleRate;
6767

6868
if (gain_db == -1) {
69-
gain_db = -10;
69+
gain_db = 24;
7070
}
7171

7272
//g_pcmbuf = (uint16_t*)_doubleBuffer.data();

0 commit comments

Comments
 (0)