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:
parent
177372e9fe
commit
6095f6e062
2 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue