We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a84634d commit 6c78482Copy full SHA for 6c78482
src/AudioI2S/I2SSTM32.h
@@ -76,7 +76,7 @@ class I2SDriverSTM32 {
76
int availableForWrite() {
77
if (!active) return 0;
78
if (use_dma && p_tx_buffer == nullptr) return 0;
79
- return cfg.buffer_size * 2;
+ return cfg.buffer_size;
80
}
81
82
/// provides the actual configuration
0 commit comments