RFR: 8356049: Need a simple way to play back a sound clip [v6]
Sergey Bylokhov
serb at openjdk.org
Sun May 25 04:59:02 UTC 2025
On Sun, 25 May 2025 00:22:40 GMT, Phil Race <prr at 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
More information about the client-libs-dev
mailing list