For some reason when I play my sound, the getPlayingOffset() always returns 0.
Even though it's clearly played for more than a few seconds, it's still 0:
@Override
public void mousePressed
(java.
awt.
event.
MouseEvent e
) { if(sound
!= null){ Time t
= jt.
sound.
getPlayingOffset(); long sndPos
= (t.
asMilliseconds()); System.
out.
println("POS: " + sndPos
); } } And yes, I can hear the sound perfectly fine.
Why does it display 0?
Was this function not implemented yet?