mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 15:46:01 +00:00
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:
1 parent
177372e9fe
commit
6095f6e062
2 files changed
+1
-4
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user