kopia lustrzana https://github.com/jameshball/osci-render
Fix audio bug that makes samples too large
rodzic
b30c511dd2
commit
d1d3bf14aa
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue