On Sun, 25 May 2025 00:22:40 GMT, Phil Race <p...@openjdk.org> wrote:

>"Play back is managed in a background thread, which may be a daemon thread.
Applications therefore need to ensure at least one application thread (such as 
the "main" thread) remains alive to prevent the VM from exiting. Conversely 
calling stop() is recommended to ensure the play back thread is terminated."

But how applications can do that? How to check that the sound is playing w/o 
busy loop at the end?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/24991#issuecomment-2907609192

Reply via email to