[pulseaudio-discuss] No volume control for audio from java applet in browser (pulseaudio-discuss Digest, Vol 26, Issue 61)

Alexander E. Patrakov patrakov at gmail.com
Thu Jul 4 04:15:58 PDT 2013


2013/7/3 Andrew Skretvedt <andrew.skretvedt at gmail.com>:
> I just completed a test: I edited /etc/java-6-openjdk/sound.properties
> to switch off the default PulseAudio configuration (referenced in my
> first post), to the DirectAudioDeviceProvider (i.e. lines like:
>
> javax.sound.sampled.Clip=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider
>
> became
>
> javax.sound.sampled.Clip=com.sun.media.sound.DirectAudioDeviceProvider
>
> .)
>
> This worked out for me as I hoped. In pavucontrol, a playback slider
> for java now appeared, as had done for the Flash plugin I mentioned
> above.

> I think we can also conclude that something is broken with the way
> IcedTea 1.3.2 accesses PulseAudio...at least as configured for
> debian/Crunchbang (I don't know how such things work).

Yes, that's a logical conclusion.

In fact, on my Gentoo system, I could not configure Java to access
pulseaudio directly, i.e. DirectAudioDeviceProvider was already the
default, and attempts to replace it with PulseAudioMixerProvider were
unsuccessful.

-- 
Alexander E. Patrakov


More information about the pulseaudio-discuss mailing list