/[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.58 Revision 1.59
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.58 2005/07/16 11:45:41 alin Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.59 2005/07/26 17:28:11 vanquirius 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>
17<!-- The content of this document is licensed under the CC-BY-SA license --> 17<!-- The content of this document is licensed under the CC-BY-SA license -->
18<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 18<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
19<license/> 19<license/>
20 20
21<version>2.7</version> 21<version>2.7</version>
22<date>2005-07-16</date> 22<date>2005-07-26</date>
23 23
24<chapter> 24<chapter>
25<title>Introduction</title> 25<title>Introduction</title>
26<section> 26<section>
27<title>What is ALSA?</title> 27<title>What is ALSA?</title>
336</p> 336</p>
337 337
338<pre caption="Adding ALSA_CARDS to make.conf"> 338<pre caption="Adding ALSA_CARDS to make.conf">
339<comment>(For one sound card)</comment> 339<comment>(For one sound card)</comment>
340ALSA_CARDS="emu10k1" 340ALSA_CARDS="emu10k1"
341<comment>(For more than one, seperate names with spaces)</comment> 341<comment>(For more than one, separate names with spaces)</comment>
342ALSA_CARDS="emu10k1 via82xx" 342ALSA_CARDS="emu10k1 via82xx"
343</pre> 343</pre>
344 344
345<p> 345<p>
346If you have compiled your kernel and want to use <c>alsa-driver</c>, please 346If you have compiled your kernel and want to use <c>alsa-driver</c>, please
487<p> 487<p>
488Before we move on to testing, there's one last <e>important</e> thing that needs 488Before we move on to testing, there's one last <e>important</e> thing that needs
489to be setup. Rule of thumb in a *nix OS : Do not run as root unless needed. 489to be setup. Rule of thumb in a *nix OS : Do not run as root unless needed.
490This applies here as well ;) How? Well, most of the times you should be logged 490This applies here as well ;) How? Well, most of the times you should be logged
491in as a user and would like to listen to music or access your soundcard. For 491in as a user and would like to listen to music or access your soundcard. For
492that to happen, you need to be in the "audio" group. At this point, we'll add 492that to happen, you need to be in the "audio" group. At this point, we'll add
493users to the audio group, so that they won't have any issues when they want to 493users to the audio group, so that they won't have any issues when they want to
494access sound devices. We'll use <c>gpasswd</c> here and you need to be logged in 494access sound devices. We'll use <c>gpasswd</c> here and you need to be logged in
495as root for this to work. 495as root for this to work.
496</p> 496</p>
497 497
605The irritating way to check your soundcard is to see if you can hear static on 605The irritating way to check your soundcard is to see if you can hear static on
606the speakers. This isn't exactly fun, but hey, it tells you the card is 606the speakers. This isn't exactly fun, but hey, it tells you the card is
607configured and working. 607configured and working.
608</p> 608</p>
609 609
610<pre caption="Bring on th static"> 610<pre caption="Bring on the static">
611# <i>cat /dev/urandom > /dev/dsp</i> 611# <i>cat /dev/urandom > /dev/dsp</i>
612</pre> 612</pre>
613 613
614<note> 614<note>
615<path>/dev/dsp</path> is a symlink to <path>/dev/sound/dsp</path> and should be 615<path>/dev/dsp</path> is a symlink to <path>/dev/sound/dsp</path> and should be
670</pre> 670</pre>
671 671
672</body> 672</body>
673</section> 673</section>
674<section> 674<section>
675<title> ALSA and USE</title> 675<title>ALSA and USE</title>
676<body> 676<body>
677 677
678<p> 678<p>
679You can now add the <c>alsa</c> use flag to <path>/etc/make.conf</path> to 679You can now add the <c>alsa</c> use flag to <path>/etc/make.conf</path> to
680ensure that your applications that support ALSA get built with it. Some 680ensure that your applications that support ALSA get built with it. Some

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59

  ViewVC Help
Powered by ViewVC 1.1.20