Change HighPrecisionRecurrentTask to 0.01 instead of 0.02

This commit is contained in:
Manevolent
2018-08-12 15:13:21 -04:00
parent 9d37b982d5
commit fb7923b63b
2 changed files with 2 additions and 2 deletions
@@ -68,7 +68,7 @@ public class PacketReassembly {
reassembledPacket.readBody(reassemblyBuffer); reassembledPacket.readBody(reassemblyBuffer);
// Remove read packets // Remove read packets
for (Integer packetId : packetIds) queue.remove(packetId); packetIds.forEach(queue::remove);
return reassembledPacket; return reassembledPacket;
} catch (Exception ex) { } catch (Exception ex) {
@@ -267,7 +267,7 @@ public class LocalTeamspeakClientSocket
microphoneThread = new HighPrecisionRecurrentTask( microphoneThread = new HighPrecisionRecurrentTask(
20, 20,
0.020F, 0.01F,
new MicrophoneTask() new MicrophoneTask()
); );
microphoneThread.setDaemon(true); microphoneThread.setDaemon(true);