I am trying to skip a negative number of bytes with AudioInputStream
skip(long bytes)
method .
The problem is trying to (let\'s say a small nu
Use your own buffer which holds a rolling window of history. I'd build a helper class that does this by allocating a List
to manage history in blocks of for example 8192 bytes. Then you need some simple overflowing mechanism that throws out the oldest block, in combination with some pointer manipulation to keep track of where you actually are in the stream. Good luck!