<Sound Dev> JavaSound is not actually usable on Oracle JDK
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Fri Aug 18 23:35:47 UTC 2017
Hi, Stefan.
Do you have a test example and an audio file which can reproduce the
problem? If yes please file a bug to the bugs.java.com and send a bugid
here.
The bug can be related to the audio file format and/or to the audio
formats supported by the test system.
On 14.08.2017 6:24, Stefan Reich wrote:
> Hi there,
>
> I am currently using JavaSound on Oracle JDK 1.8 on Linux and Windows.
> It's an unmitigated catastrophe.
>
> Something as simple as playing a Clip only works 60% of the time. The
> other times, it just stays mute.
>
> This may not be your fault as I'm not currently using OpenJDK. How
> different is the OpenJDK code base versus Oracle relating to JavaSound?
>
> Should I try OpenJDK again?
>
> The background is: I really want to support every end user out there, so
> both OpenJDK and Oracle JDK should run my software well...
>
> I am working around the issue by actually invoking command line tools
> (aplay on Linux, cmdmp3.exe on Windows) for playing sounds. Perfect?
> Hell no. But JavaSound really is too thoroughly broken, at least on
> Oracle JDK.
>
> Sorry for the harsh words. Where is the way out?
>
> All the best,
> Stefan
>
> --
> Stefan Reich
> BotCompany.de
--
Best regards, Sergey.
More information about the sound-dev
mailing list