Expose the remote counter's features for discerning buffer beginning and end. I need this because my bot will be decoding audio for speech recognition.
This commit is contained in:
+8
@@ -1100,6 +1100,14 @@ public abstract class AbstractTeamspeakClientSocket
|
||||
this.bufferEnd = new Pair<>(0, windowSize - 1);
|
||||
}
|
||||
|
||||
public Pair<Integer, Integer> getBufferStart() {
|
||||
return bufferStart;
|
||||
}
|
||||
|
||||
public Pair<Integer, Integer> getBufferEnd() {
|
||||
return bufferEnd;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getGeneration(int packetId) {
|
||||
packetId %= generationSize;
|
||||
|
||||
Reference in New Issue
Block a user