Java Sound Clip Looping Frame Position
- by InsertNickHere
Hi,
I have a little problem with a loopting clip:
If you have a soundfile e.g. 20000 samples long, the frame position will not reset after looping, so I get values that are "out of bounds" of the original soundfile.
As I want to draw a position marker on my waveform, I'm a bit confused how to achive. At this time I just get myClip.getLongFramePosition() but this does not work as described above.
Does anyone have an idea how to fix that? Is there a possibility to count how often a clip was looped before?
Regards