pull/35/head
James Ball 2020-02-06 11:23:05 +00:00
rodzic 4d558900dc
commit e87739158d
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -31,8 +31,8 @@ public class AudioPlayer extends Thread {
Shape shape = currentShape();
shape = scale(shape);
shape = rotate(shape, stream.getFormat().mix.rate);
shape = translate(shape, stream.getFormat().mix.rate);
shape = rotate(shape, format.mix.rate);
shape = translate(shape, format.mix.rate);
double framesToDraw = shape.getLength() * shape.getWeight();
double drawingProgress = framesDrawn / framesToDraw;