Skip to content

Commit edba2fa

Browse files
Increase default PWMAudio buffer sizes (#2530)
Help ensure click-free playback by default. App overide will still be obeyed.
1 parent c97c61d commit edba2fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/PWMAudio/src/PWMAudio.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ bool PWMAudio::begin() {
127127
_wasHolding = false;
128128

129129
if (!_bufferWords) {
130-
_bufferWords = 16;
130+
_bufferWords = 64;
131131
}
132132

133133
setPWMFrequency(_freq);

0 commit comments

Comments
 (0)