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