Java AudioInputStream skip with negative number of bytes always returns 0
问题 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 number of bytes...) : int skipped = audioInputStream.skip(-bytes); always returns 0 .... i don't know what to do . Here is the full code of the library on github . What i do is recreating the line every time the user skips audio which is extremely slow when i can of course do much better ... by just going backward or forward . Now it supports only forward