Hello,
I'm running Debian/unstable and I'm trying to teach Java to use ALSA.
By default Java uses /dev/dsp (very annoying, especially with the plugin
that won't release the device unless you close the browser).
I've straced a java application and I see that the JRE first opens ALSA
devices (i.e. /dev/snd/*) and then go on using /dev/dsp.

Removing ALSA OSS emulation the JRE starts using ALSA, but it still
doesn't use dmix (it seems that it goes directly to hwplug, or something
like that). I'm using stock ALSA configuration with empty ~/.asoundrc

I've tried both 1.5 and 6:

kronos:~$ dpkg -l sun-java* | grep ^ii
ii  sun-java5-bin    1.5.0-10-3     Sun Java(TM) Runtime Environment (JRE) 5.0 
(architecture dependent files)
ii  sun-java5-demo   1.5.0-10-3     Sun Java(TM) Development Kit (JDK) 5.0 
demos and examples
ii  sun-java5-fonts  1.5.0-10-3     Lucida TrueType fonts (from the Sun JRE)
ii  sun-java5-jdk    1.5.0-10-3     Sun Java(TM) Development Kit (JDK) 5.0
ii  sun-java5-jre    1.5.0-10-3     Sun Java(TM) Runtime Environment (JRE) 5.0 
(architecture independent file
ii  sun-java5-plugin 1.5.0-10-3     The Java(TM) Plug-in, Java SE 5.0
ii  sun-java6-bin    6-00-2         Sun Java(TM) Runtime Environment (JRE) 6 
(architecture dependent files)
ii  sun-java6-jdk    6-00-2         Sun Java(TM) Development Kit (JDK) 6
ii  sun-java6-jre    6-00-2         Sun Java(TM) Runtime Environment (JRE) 6 
(architecture independent files)
ii  sun-java6-plugin 6-00-2         The Java(TM) Plug-in, Java SE 6

Any clue of what's going on?

Luca (please CC me)
-- 
Se non sei parte della soluzione, allora sei parte del problema.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to