<Sound Dev> Great work on the Java Sound API for Linux!
Damjan Jovanovic
damjan.jov at gmail.com
Sat Nov 7 22:04:00 PST 2009
On Sun, Nov 8, 2009 at 12:37 AM, Nerius Landys <nlandys at gmail.com> wrote:
>> Do you mean that you can play sound with another non-Java applications in
>> the same time? With Sun's JDK 1.6.0u16 i can't do it:
>> What is a difference? Is Java Sound has been rewritten for Linux?
>
> Yes, when using the OpenJDK 1.6, I can play sound from my Java app at
> the same time that other audio apps are running, such as video games,
> speech-dispatcher, Mumble, etc. Furthermore, in OpenJDK, I can play 2
> Clip objects simultaneously and it will mix them for me (presumably
> using ALSA mix program).
>
> On the other hand Sun's JDK does not do all of the above for me.
>
> Thank you, OpenJDK.
>
How did you install your OpenJDK? If you're using the Debian package,
I think it comes with Pulseaudio support.
Please check the jre/lib/ext directory and your /usr/share/java
directory for pulse-java.jar.
Regards
Damjan
More information about the sound-dev
mailing list