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