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 765e535 commit 16818ecCopy full SHA for 16818ec
src/Audio.cpp
@@ -3,8 +3,8 @@
3
*
4
* Created on: Oct 26.2018
5
6
- * Version 3.0.12c
7
- * Updated on: Jul 28.2024
+ * Version 3.0.12d
+ * Updated on: Jul 29.2024
8
* Author: Wolle (schreibfaul1)
9
10
*/
@@ -2409,7 +2409,7 @@ void Audio::playChunk() {
2409
s2[LEFTCHANNEL] += 0x8000;
2410
s2[RIGHTCHANNEL] += 0x8000;
2411
}
2412
- i += m_channels;
+ i += m_bitsPerSample == 16 ? 2 : 1;
2413
validSamples -= 1;
2414
2415
if(audio_process_i2s) {
src/Audio.h
* Created on: Oct 28,2018
0 commit comments