IcedTea-Sound-1.0.1

Introduction to IcedTea-Sound

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.

Package Information

IcedTea-Sound Dependencies

Required

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

Installation of 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

Command Explanations

--with-jdk-home=...: This parameter specifies the location of your JDK.

--disable-docs: Disable building the documentation.

Configuring IcedTea-Sound

Config Files

${JAVA_HOME}/jre/lib/sound.properties

Configuration Information

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

Contents

Installed Program: None.
Installed Libraries: libicedtea-sound.so and icedtea-sound.jar.
Installed Directories: None.

Short Descriptions

libicedtea-sound.so

contains the sound provider(s) bindings.

Last updated on 2015-02-27 19:21:33 -0500