Fix audio bug that makes samples too large

pull/85/head
DJLevel3 2022-06-13 11:12:46 -06:00 zatwierdzone przez James H Ball
rodzic b30c511dd2
commit d1d3bf14aa
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -223,8 +223,8 @@ public class ShapeAudioPlayer implements AudioPlayer<List<Shape>> {
if (recording) {
if (recordHQ) {
int leftR = (int) (leftChannel * 8388607);
int rightR = (int) (rightChannel * 8388607);
int leftR = (int) (leftChannel * 8388606);
int rightR = (int) (rightChannel * 8388606);
byte b0R = (byte) (leftR);
byte b1R = (byte) (leftR >> 8);