commit a8eb6374431790dcc013ade18c69812f4c2a6771
Author: Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Wed Apr 28 17:48:24 2021 -0600
Commit: Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Wed Apr 28 17:48:24 2021 -0600
take out shifting audio (its not helping)
---
source/Audio.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/source/Audio.cpp b/source/Audio.cpp
index f890492..c9bb01b 100644
--- a/source/Audio.cpp
+++ b/source/Audio.cpp
@@ -199,8 +199,7 @@ void Audio::FillAudioBuffer(void *audioBuffer, size_t offset, size_t size){
int16_t sample = 0;
for (int c = 0; c < 4; ++c) {
- //bit shifted 3 places to lower volume and avoid clipping
- sample += this->getSampleForChannel(c) >> 3;
+ sample += this->getSampleForChannel(c);
}
//buffer is stereo, so just send the mono sample to both channels