Skip to content
Advertisement

Tag: javasound

Java Stop Sound Button Not Working Correctly

So I have been making a stop button recently and have been wondering how can I stop a button sound instantly when already playing. The problem : When you click the stop sound button, it only stops the next button you press. What Im Trying to Achieve : When you click the stop sound button, it stops all playing sounds.

JavaSound API not available

I have started a new modular JavaFX project based on OpenJDK14 and OpenJFX14. This is a modular project with maven. I now have the problem that I would like to use the Java Sound API but cannot import …

Advertisement