/[gentoo]/xml/htdocs/doc/en/alsa-guide.xml
Gentoo

Diff of /xml/htdocs/doc/en/alsa-guide.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.74 Revision 1.75
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.74 2007/03/04 10:35:58 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.75 2007/03/10 13:02:28 jkt Exp $ -->
3 3
4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
5 5
6<guide link="/doc/en/alsa-guide.xml"> 6<guide link="/doc/en/alsa-guide.xml">
7<title>Gentoo Linux ALSA Guide</title> 7<title>Gentoo Linux ALSA Guide</title>
8 8
9<author title="Author"> 9<author title="Author">
10 <mail link="fox2mike@gentoo.org">Shyam Mani</mail> 10 <mail link="fox2mike@gentoo.org">Shyam Mani</mail>
11</author> 11</author>
12<author title="Author"> 12<author title="Author">
13 <mail link="nightmorph@gentoo.org">Joshua Saddler</mail> 13 <mail link="nightmorph@gentoo.org">Joshua Saddler</mail>
14</author> 14</author>
15<author title="Contributor"> 15<author title="Contributor">
16 <mail link="flameeyes@gentoo.org">Diego Pettenò</mail> 16 <mail link="flameeyes@gentoo.org">Diego Pettenò</mail>
17</author> 17</author>
18 18
19<abstract> 19<abstract>
20This document helps a user setup ALSA on Gentoo Linux. 20This document helps a user setup ALSA on Gentoo Linux.
21</abstract> 21</abstract>
22 22
23<!-- The content of this document is licensed under the CC-BY-SA license --> 23<!-- The content of this document is licensed under the CC-BY-SA license -->
24<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 24<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25<license/> 25<license/>
26 26
27<version>2.17</version> 27<version>2.18</version>
28<date>2007-02-17</date> 28<date>2007-02-17</date>
29 29
30<chapter> 30<chapter>
31<title>Introduction</title> 31<title>Introduction</title>
32<section> 32<section>
33<title>What is ALSA?</title> 33<title>What is ALSA?</title>
34<body> 34<body>
35 35
36<p> 36<p>
37ALSA, which stands for <e>Advanced Linux Sound Architecture</e>, provides 37ALSA, which stands for <e>Advanced Linux Sound Architecture</e>, provides
38audio and MIDI (<e>Musical Instrument Digital Interface</e>) functionality to 38audio and MIDI (<e>Musical Instrument Digital Interface</e>) functionality to
39the Linux operating system. ALSA is the default sound subsystem in the 2.6 39the Linux operating system. ALSA is the default sound subsystem in the 2.6
40kernel thereby replacing OSS (<e>Open Sound System</e>), which was used in the 40kernel thereby replacing OSS (<e>Open Sound System</e>), which was used in the
412.4 kernels. 412.4 kernels.
42</p> 42</p>
217the card manufacturer is Creative Labs. Head over to the 217the card manufacturer is Creative Labs. Head over to the
218<uri link="http://www.alsa-project.org/alsa-doc/"> ALSA Soundcard Matrix</uri> 218<uri link="http://www.alsa-project.org/alsa-doc/"> ALSA Soundcard Matrix</uri>
219page and select Creative Labs from the drop down menu. You will be taken to 219page and select Creative Labs from the drop down menu. You will be taken to
220the Creative Labs matrix page where you can see that the SB Live! uses the 220the Creative Labs matrix page where you can see that the SB Live! uses the
221<c>emu10k1</c> module. That is the information we need for now. If you are 221<c>emu10k1</c> module. That is the information we need for now. If you are
222interested in detailed information, you can click on the link next to the 222interested in detailed information, you can click on the link next to the
223"Details" and that will take you to the <c>emu10k1</c> specific page. 223"Details" and that will take you to the <c>emu10k1</c> specific page.
224</p> 224</p>
225 225
226<p> 226<p>
227If you intend to use MIDI, then you should add <c>midi</c> to your USE flags in 227If you intend to use MIDI, then you should add <c>midi</c> to your USE flags in
228<path>/etc/make.conf</path> before emerging any ALSA packages. Later in the 228<path>/etc/make.conf</path> before emerging any ALSA packages. Later in the
229guide, we will show you how to set up <uri link="#midi">MIDI support</uri>. 229guide, we will show you how to set up <uri link="#midi">MIDI support</uri>.
230</p> 230</p>
231 231
232<pre caption="MIDI support in /etc/make.conf">
233<comment>(If you want MIDI support)</comment>
234USE="midi"
235
236<comment>(If you don't need MIDI)</comment>
237USE="-midi"
238</pre>
239
240</body> 232</body>
241</section> 233</section>
242<section id="kernel"> 234<section id="kernel">
243<title>Using ALSA provided by your Kernel</title> 235<title>Using ALSA provided by your Kernel</title>
244<body> 236<body>
245 237
246<p> 238<p>
247If you're a person who likes to keep things simple like I do, then this is 239If you're a person who likes to keep things simple like I do, then this is
248the way to go. 240the way to go.
249</p> 241</p>
250 242
251<note> 243<note>
252Since the 2005.0 release, Gentoo Linux uses 2.6 as the default kernel. Unless 244Since the 2005.0 release, Gentoo Linux uses 2.6 as the default kernel. Unless
253you are specifically using the 2.4 profile, <c>gentoo-sources</c> will be a 245you are specifically using the 2.4 profile, <c>gentoo-sources</c> will be a
2542.6 kernel on <e>most</e> architectures. Please check that your kernel is a 2462.6 kernel on <e>most</e> architectures. Please check that your kernel is a
836that should take care of this issue. 828that should take care of this issue.
837</p> 829</p>
838 830
839</body> 831</body>
840</section> 832</section>
841</chapter> 833</chapter>
842 834
843<chapter> 835<chapter>
844<title>Other things ALSA</title> 836<title>Other things ALSA</title>
845<section id="midi"> 837<section id="midi">
846<title>Setting up MIDI support</title> 838<title>Setting up MIDI support</title>
847<body> 839<body>
848 840
849<p> 841<p>
850First, check to make sure that you enabled the <c>midi</c> USE flag in 842First, check to make sure that you enabled the <c>midi</c> USE flag in
851<path>/etc/make.conf</path>. 843<path>/etc/make.conf</path>. If you didn't, go ahead and add it now. You will
852</p> 844also need to re-emerge any ALSA packages that use the <c>midi</c> flag, such as
853
854<pre caption="MIDI support in /etc/make.conf">
855USE="midi"
856</pre>
857
858<p>
859If you didn't previously enable <c>midi</c>, go ahead and add it to
860<path>/etc/make.conf</path> now. You will also need to re-emerge any ALSA
861packages that use the <c>midi</c> flag, such as <c>alsa-lib</c>,
862<c>alsa-utils</c>, and <c>alsa-driver</c>. 845<c>alsa-lib</c>, <c>alsa-utils</c>, and <c>alsa-driver</c>.
863</p> 846</p>
864 847
865<p> 848<p>
866If your sound card is one of those that come with on-board MIDI synthesizers 849If your sound card is one of those that come with on-board MIDI synthesizers
867and you would like to listen to some .mid files, you have to install 850and you would like to listen to some .mid files, you have to install
868<c>awesfx</c> which is basically a set of utilities for controlling the AWE32 851<c>awesfx</c> which is basically a set of utilities for controlling the AWE32
869driver. We need to install it first. If you don't have a hardware synthesizer, 852driver. We need to install it first. If you don't have a hardware synthesizer,
870you can use a virtual one. Please see the section on 853you can use a virtual one. Please see the section on
871<uri link="#vsynth">Virtual Synthesizers</uri> for more information. 854<uri link="#vsynth">Virtual Synthesizers</uri> for more information.
872</p> 855</p>
873 856
874<pre caption="Installing awesfx"> 857<pre caption="Installing awesfx">
875# <i>emerge awesfx</i> 858# <i>emerge awesfx</i>
876</pre> 859</pre>
877 860

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75

  ViewVC Help
Powered by ViewVC 1.1.20