<Sound Dev> sound on Linux

Peter Salomonsen contact at petersalomonsen.com
Wed Oct 14 00:29:53 PDT 2009


If you rather use OpenJDK instead of Sun's, then you can use pulseaudio for
playback. Actually pulseaudio is default audio output for OpenJDK on ubuntu
linux. Then it's no problem with audio output from multiple applications



2009/10/14 cyberGn0m <cy6ergn0m at gmail.com>

> This way still conflicts with ALSA-based players... and probably with any
> other sound players.. In comments i saw that Java uses OSS for sound output?
> I think this is a root cause.. This looks it is the same that no sound at
> Linux...
> 2009/10/14 Paulo Levi <i30817 at gmail.com>
>> Try to make the default engine the java audio engine... I think i had
>> a test case to see if it worked around here... replace the string for
>> the wav file, and also, probably the "Java Sound Audio Engine" is not
>> the correct name string in the comparator ... you'll have to see. I
>> can't test this now since i don't have a linux here this fails handy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/sound-dev/attachments/20091014/48ec7bf0/attachment.html 

More information about the sound-dev mailing list