files
This commit is contained in:
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#convert from stereo to mono
|
||||
for i in assets/sounds/*.ogg; do
|
||||
echo $i
|
||||
ffmpeg -i "$i" -y -ac 1 "$i"
|
||||
done
|
||||
@@ -31,8 +31,6 @@ public class LoopControl{
|
||||
|
||||
boolean play = data.curVolume > 0.01f;
|
||||
float pan = Mathf.isZero(data.total, 0.0001f) ? 0f : sound.calcPan(data.sum.x / data.total, data.sum.y / data.total);
|
||||
//Log.info(pan);
|
||||
//TODO calc pan
|
||||
if(data.soundID <= 0){
|
||||
if(play){
|
||||
data.soundID = sound.loop(data.curVolume, 1f, pan);
|
||||
|
||||
Reference in New Issue
Block a user