title: Java clip frame position is stuck
body: <p>Lots of people are battling the java clip class. I have pinpointed a problem not addressed on any other question I found:</p>
  
  <pre><code>.... code to set up clip from AudioSystem.getClip()
  // Everything seems to be OK:
  clip.open(...);
  clip.isRunning(); //false
  clip.getMicrosecondLength(); // 2 000 000
  clip.getFrameLength(); // 10 000
  clip.setFramePosition(0);
  
  // Lets run it:
  clip.start();
  clip.drain();
  clip.getFramePosition(); // STILL 0!
  </code></pre>
  
  <p>No sound plays (of course), and the function exits almost immediately rather than taking 2 seconds to drain. What could be causing this?</p>