<div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail_quote">2009/10/13 cyberGn0m <span dir="ltr">&lt;<a href="mailto:cy6ergn0m@gmail.com" target="_blank">cy6ergn0m@gmail.com</a>&gt;</span><div class="im">

<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Anybody tested java sound on linux? As I know, java uses ALSA on Linux to play audio.. so, i have a problem with it: when java plays sound, other applications can&#39;t play anything. When other applications plays sound, java can&#39;t. As i know, mplayer can play sound via ALSA and i can open many players and all of them will plays as expected...<br>


</blockquote></div></div><br>
</blockquote><br></div>Yepp, I have this problem too and this is very annoying. I found this bug : <a href="http://bugs.sun.com/view_bug.do?bug_id=6832063">http://bugs.sun.com/view_bug.do?bug_id=6832063</a><br>but I was asking me recently whether or not the fix is really in progress. This issue has made us (people working on the XtremeMP media player) think on a fallback audio backend based on gstreamer-java for people running under linux<br>

<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">If you rather use OpenJDK instead of Sun&#39;s, then you can use 
pulseaudio for playback. Actually pulseaudio is default audio output for
 OpenJDK on ubuntu linux. Then it&#39;s no problem with audio output from 
multiple applications simultaneously..<br></blockquote><div><br>Are you sure ? I use OpenJDK 1.7.0b70 and can&#39;t have amarok (gstreamer-&gt;PulseAudio) and XtremeMP playing simultaneously on my netbook. Maybe your hardware has some mixing abilities that lets your &#39;normal&#39; programs play through pulseaudio over a stream while another one is available for java ? You can try this : play something with mplayer or whatever grinding PA, + trying to play a wave file with &quot;aplay &lt;file.wav&gt;&quot;. If you have your two streams being played, then your audio card is likely mixing-capable...<br>

</div><br><br>