The IcedTea-Sound package contains the PulseAudio-5.0 provider which was removed from IcedTea itself from version 2.5.0 onwards. More providers may be included in the future.
Because of pulseaudio real-time capabilities, the pulseaudio provider is said to provide smoother sound than the default alsa provider.
This package is known to build and work properly using an LFS-7.7 platform.
Download (HTTP): http://icedtea.classpath.org/download/source/icedtea-sound-1.0.1.tar.xz
Download MD5 sum: e4d8013735ae517c015327924dabf3ed
Download size: 1.44 MB
Estimated disk space required: 4.4 MB
Estimated build time: 0.1 SBU
OpenJDK-1.8.0.31 or Java-1.8.0.31 (remember to configure as described in the OpenJDK-1.8.0.31 page), and PulseAudio-5.0
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/icedtea-sound
Install IcedTea-Sound by running the following commands:
./configure --with-jdk-home=${JAVA_HOME} --disable-docs && make
This package does not come with a working test suite.
Now, as the root
user:
case $(uname -m) in i?86 ) ARCH=i386 ;; x86_64 ) ARCH=amd64 ;; esac && install icedtea-sound.jar ${JAVA_HOME}/jre/lib/ext && install build/native/libicedtea-sound.so ${JAVA_HOME}/jre/lib/$ARCH && unset ARCH
--with-jdk-home=...
: This
parameter specifies the location of your JDK.
--disable-docs
: Disable
building the documentation.
The default installation of OpenJDK uses the ALSA provider. You
have to specify the PulseAudio provider in the sound.properties
file, as the root
user:
cat >> ${JAVA_HOME}/jre/lib/sound.properties << "EOF"
# Begin PulseAudio provider additions:
javax.sound.sampled.Clip=org.classpath.icedtea.pulseaudio.PulseAudioClip
javax.sound.sampled.SourceDataLine=org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine
javax.sound.sampled.TargetDataLine=org.classpath.icedtea.pulseaudio.PulseAudioTargetDataLine
# End PulseAudio provider additions
EOF
Last updated on 2015-02-27 19:21:33 -0500