Fixed the evil mac sound bug by increasing the sampling rate and doubling the buffer size to two bytes. Also removed printlns.

This commit is contained in:
Aidan C. Brady 2014-07-11 16:07:58 -04:00
parent 177372e9fe
commit 6095f6e062
2 changed files with 1 additions and 4 deletions

View file

@ -20,7 +20,7 @@ public class VoiceClient extends Thread
public String ip;
public AudioFormat format = new AudioFormat(11025.0F, 8, 1, true, true);
public AudioFormat format = new AudioFormat(16000F, 16, 1, true, true);
public VoiceInput inputThread;
public VoiceOutput outputThread;

View file

@ -167,7 +167,6 @@ public class TransporterStack
}
pathToTarget = newPath.path;
System.out.println("Def reset");
pathType = Path.DEST;
idleDir = ForgeDirection.UNKNOWN;
initiatedPath = true;
@ -185,7 +184,6 @@ public class TransporterStack
}
pathToTarget = newPath.path;
System.out.println("RR reset");
pathType = Path.DEST;
idleDir = ForgeDirection.UNKNOWN;
initiatedPath = true;
@ -204,7 +202,6 @@ public class TransporterStack
if(pathType == Path.HOME)
{
System.out.println("Idle reset");
idleDir = ForgeDirection.UNKNOWN;
}