[ef95d8c] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY icedtea-sound-download-http "http://icedtea.classpath.org/download/source/icedtea-sound-&icedtea-sound-version;.tar.xz">
|
---|
| 8 | <!ENTITY icedtea-sound-download-ftp " ">
|
---|
| 9 | <!ENTITY icedtea-sound-md5sum "e4d8013735ae517c015327924dabf3ed">
|
---|
| 10 | <!ENTITY icedtea-sound-size "1.44 MB">
|
---|
| 11 | <!ENTITY icedtea-sound-buildsize "4.4 MB">
|
---|
| 12 | <!ENTITY icedtea-sound-time "0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="icedtea-sound" xreflabel="IcedTea-Sound-&icedtea-sound-version;">
|
---|
| 16 | <?dbhtml filename="icedtea-sound.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>IcedTea-Sound-&icedtea-sound-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="icedtea-sound">
|
---|
| 25 | <primary sortas="a-icedtea-sound">IcedTea-Sound</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to IcedTea-Sound</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | The <application>IcedTea-Sound</application> package contains the
|
---|
| 33 | <xref linkend="pulseaudio"/> provider which was removed from IcedTea
|
---|
| 34 | itself from version 2.5.0 onwards. More providers may be included in
|
---|
| 35 | the future.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
| 38 | <para>
|
---|
| 39 | Because of pulseaudio real-time capabilities, the pulseaudio provider
|
---|
| 40 | is said to provide smoother sound than the default alsa provider.
|
---|
| 41 | </para>
|
---|
| 42 |
|
---|
[96af6591] | 43 | &lfs7a_checked;
|
---|
[ef95d8c] | 44 |
|
---|
| 45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 46 | <itemizedlist spacing="compact">
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (HTTP): <ulink url="&icedtea-sound-download-http;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download (FTP): <ulink url="&icedtea-sound-download-ftp;"/>
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download MD5 sum: &icedtea-sound-md5sum;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Download size: &icedtea-sound-size;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated disk space required: &icedtea-sound-buildsize;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
| 73 | <para>
|
---|
| 74 | Estimated build time: &icedtea-sound-time;
|
---|
| 75 | </para>
|
---|
| 76 | </listitem>
|
---|
| 77 | </itemizedlist>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect3">IcedTea-Sound Dependencies</bridgehead>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 82 | <para role="required">
|
---|
| 83 | <xref linkend="openjdk"/> or <xref linkend="java"/> (remember to
|
---|
| 84 | configure as described in the <xref linkend="openjdk"/> page), and
|
---|
| 85 | <xref linkend="pulseaudio"/>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <para condition="html" role="usernotes">
|
---|
| 89 | User Notes: <ulink url="&blfs-wiki;/icedtea-sound"/>
|
---|
| 90 | </para>
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of IcedTea-Sound</title>
|
---|
| 95 |
|
---|
| 96 | <para>
|
---|
| 97 | Install <application>IcedTea-Sound</application> by running the
|
---|
| 98 | following commands:
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
[9afdcefe] | 101 | <screen><userinput> ./configure --with-jdk-home=${JAVA_HOME} --disable-docs &&
|
---|
[ef95d8c] | 102 | make</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | <para>
|
---|
| 105 | This package does not come with a working test suite.
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <para>
|
---|
| 109 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 110 | </para>
|
---|
| 111 |
|
---|
| 112 | <screen role="root"><userinput>case $(uname -m) in
|
---|
[9afdcefe] | 113 | i?86 ) ARCH=i386 ;;
|
---|
[ef95d8c] | 114 | x86_64 ) ARCH=amd64 ;;
|
---|
| 115 | esac &&
|
---|
[9afdcefe] | 116 |
|
---|
[ef95d8c] | 117 | install icedtea-sound.jar ${JAVA_HOME}/jre/lib/ext &&
|
---|
| 118 | install build/native/libicedtea-sound.so ${JAVA_HOME}/jre/lib/$ARCH &&
|
---|
| 119 | unset ARCH</userinput></screen>
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="commands">
|
---|
| 123 | <title>Command Explanations</title>
|
---|
| 124 |
|
---|
| 125 | <para>
|
---|
| 126 | <parameter>--with-jdk-home=...</parameter>: This parameter specifies
|
---|
| 127 | the location of your JDK.
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
| 130 | <para>
|
---|
| 131 | <parameter>--disable-docs</parameter>: Disable building the documentation.
|
---|
| 132 | </para>
|
---|
| 133 |
|
---|
| 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2 role="configuration">
|
---|
| 137 | <title>Configuring IcedTea-Sound</title>
|
---|
| 138 |
|
---|
| 139 | <sect3 id="icedtea-sound-config">
|
---|
| 140 | <title>Config Files</title>
|
---|
| 141 | <para>
|
---|
| 142 | <filename>${JAVA_HOME}/jre/lib/sound.properties</filename>
|
---|
| 143 | </para>
|
---|
| 144 |
|
---|
| 145 | <indexterm zone="icedtea-sound icedtea-sound-config">
|
---|
| 146 | <primary
|
---|
| 147 | sortas="e-jre-lib-sound.properties">${JAVA_HOME}/jre/lib/sound.properties</primary>
|
---|
| 148 | </indexterm>
|
---|
| 149 | </sect3>
|
---|
| 150 |
|
---|
| 151 | <sect3><title>Configuration Information</title>
|
---|
| 152 |
|
---|
| 153 | <para>
|
---|
| 154 | The default installation of OpenJDK uses the ALSA provider. You have
|
---|
| 155 | to specify the PulseAudio provider in the
|
---|
| 156 | <filename>sound.properties</filename> file, as the
|
---|
| 157 | <systemitem class="username">root</systemitem> user:
|
---|
| 158 | </para>
|
---|
| 159 |
|
---|
[4e057d7] | 160 | <screen role="root"><userinput>cat >> ${JAVA_HOME}/jre/lib/sound.properties << "EOF"
|
---|
[ef95d8c] | 161 | <literal># Begin PulseAudio provider additions:
|
---|
| 162 |
|
---|
| 163 | javax.sound.sampled.Clip=org.classpath.icedtea.pulseaudio.PulseAudioClip
|
---|
| 164 | javax.sound.sampled.SourceDataLine=org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine
|
---|
| 165 | javax.sound.sampled.TargetDataLine=org.classpath.icedtea.pulseaudio.PulseAudioTargetDataLine
|
---|
| 166 |
|
---|
| 167 | # End PulseAudio provider additions</literal>
|
---|
| 168 | EOF</userinput></screen>
|
---|
| 169 | </sect3>
|
---|
| 170 | </sect2>
|
---|
| 171 |
|
---|
| 172 | <sect2 role="content">
|
---|
| 173 | <title>Contents</title>
|
---|
| 174 |
|
---|
| 175 | <segmentedlist>
|
---|
| 176 | <segtitle>Installed Program</segtitle>
|
---|
| 177 | <segtitle>Installed Libraries</segtitle>
|
---|
| 178 | <segtitle>Installed Directories</segtitle>
|
---|
| 179 |
|
---|
| 180 | <seglistitem>
|
---|
| 181 | <seg>
|
---|
| 182 | None.
|
---|
| 183 | </seg>
|
---|
| 184 | <seg>
|
---|
| 185 | libicedtea-sound.so and icedtea-sound.jar.
|
---|
| 186 | </seg>
|
---|
| 187 | <seg>
|
---|
| 188 | None.
|
---|
| 189 | </seg>
|
---|
| 190 | </seglistitem>
|
---|
| 191 | </segmentedlist>
|
---|
| 192 |
|
---|
| 193 | <variablelist>
|
---|
| 194 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 195 | <?dbfo list-presentation="list"?>
|
---|
| 196 | <?dbhtml list-presentation="table"?>
|
---|
| 197 |
|
---|
| 198 | <varlistentry id="libicedtea-sound">
|
---|
| 199 | <term><filename class="libraryfile">libicedtea-sound.so</filename></term>
|
---|
| 200 | <listitem>
|
---|
| 201 | <para>
|
---|
| 202 | contains the sound provider(s) bindings.
|
---|
| 203 | </para>
|
---|
| 204 | <indexterm zone="icedtea-sound libicedtea-sound">
|
---|
| 205 | <primary sortas="c-libicedtea-sound">libicedtea-sound.so</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 | </variablelist>
|
---|
| 210 | </sect2>
|
---|
| 211 | </sect1>
|
---|