source: multimedia/libdriv/icedtea-sound.xml@ ef95d8c

10.0 10.1 11.0 7.10 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since ef95d8c was ef95d8c, checked in by Pierre Labastie <pieere@…>, 7 years ago

Add IcedTea-Sound

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14160 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.3 KB
Line 
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 &lfs75_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>
103./configure --with-jdk-home=${JAVA_HOME} \
104 --disable-docs &amp;&amp;
105make</userinput></screen>
106
107 <para>
108 This package does not come with a working test suite.
109 </para>
110
111 <para>
112 Now, as the <systemitem class="username">root</systemitem> user:
113 </para>
114
115<screen role="root"><userinput>case $(uname -m) in
116 i?86) ARCH=i386 ;;
117 x86_64 ) ARCH=amd64 ;;
118esac &amp;&amp;
119install icedtea-sound.jar ${JAVA_HOME}/jre/lib/ext &amp;&amp;
120install build/native/libicedtea-sound.so ${JAVA_HOME}/jre/lib/$ARCH &amp;&amp;
121unset ARCH</userinput></screen>
122 </sect2>
123
124 <sect2 role="commands">
125 <title>Command Explanations</title>
126
127 <para>
128 <parameter>--with-jdk-home=...</parameter>: This parameter specifies
129 the location of your JDK.
130 </para>
131
132 <para>
133 <parameter>--disable-docs</parameter>: Disable building the documentation.
134 </para>
135
136 </sect2>
137
138 <sect2 role="configuration">
139 <title>Configuring IcedTea-Sound</title>
140
141 <sect3 id="icedtea-sound-config">
142 <title>Config Files</title>
143 <para>
144 <filename>${JAVA_HOME}/jre/lib/sound.properties</filename>
145 </para>
146
147 <indexterm zone="icedtea-sound icedtea-sound-config">
148 <primary
149 sortas="e-jre-lib-sound.properties">${JAVA_HOME}/jre/lib/sound.properties</primary>
150 </indexterm>
151 </sect3>
152
153 <sect3><title>Configuration Information</title>
154
155 <para>
156 The default installation of OpenJDK uses the ALSA provider. You have
157 to specify the PulseAudio provider in the
158 <filename>sound.properties</filename> file, as the
159 <systemitem class="username">root</systemitem> user:
160 </para>
161
162<screen role="root"><userinput>cat &gt;&gt; ${JAVA_HOME}/lib/jre/sound.properties &lt;&lt; "EOF"
163<literal># Begin PulseAudio provider additions:
164
165javax.sound.sampled.Clip=org.classpath.icedtea.pulseaudio.PulseAudioClip
166javax.sound.sampled.SourceDataLine=org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine
167javax.sound.sampled.TargetDataLine=org.classpath.icedtea.pulseaudio.PulseAudioTargetDataLine
168
169# End PulseAudio provider additions</literal>
170EOF</userinput></screen>
171 </sect3>
172 </sect2>
173
174 <sect2 role="content">
175 <title>Contents</title>
176
177 <segmentedlist>
178 <segtitle>Installed Program</segtitle>
179 <segtitle>Installed Libraries</segtitle>
180 <segtitle>Installed Directories</segtitle>
181
182 <seglistitem>
183 <seg>
184 None.
185 </seg>
186 <seg>
187 libicedtea-sound.so and icedtea-sound.jar.
188 </seg>
189 <seg>
190 None.
191 </seg>
192 </seglistitem>
193 </segmentedlist>
194
195 <variablelist>
196 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
197 <?dbfo list-presentation="list"?>
198 <?dbhtml list-presentation="table"?>
199
200 <varlistentry id="libicedtea-sound">
201 <term><filename class="libraryfile">libicedtea-sound.so</filename></term>
202 <listitem>
203 <para>
204 contains the sound provider(s) bindings.
205 </para>
206 <indexterm zone="icedtea-sound libicedtea-sound">
207 <primary sortas="c-libicedtea-sound">libicedtea-sound.so</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211 </variablelist>
212 </sect2>
213</sect1>
Note: See TracBrowser for help on using the repository browser.