79531384

Date: 2025-03-24 14:55:00
Score: 1
Natty:
Report link

You have to make sure to close a Clip whenever possible.

If there are many Clips open simultaneously, you may experience strange errors.

I recommend this for sporadic playing:

//Should usually be executed in a separate, dedicated Thread.
clip.open(Source);
//Maybe wait a bit for the Clip to actually open
clip.start();
clip.drain();
clip.close();
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Langdon Staab