/[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.64 Revision 1.65
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.64 2006/01/01 11:51:43 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.65 2006/03/25 06:59:01 fox2mike 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>
16 16
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.10</version> 21<version>2.11</version>
22<date>2005-09-10</date> 22<date>2006-03-25</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>
601</body> 601</body>
602</section> 602</section>
603<section> 603<section>
604<title>Sound Check!</title> 604<title>Sound Check!</title>
605<body> 605<body>
606
607<p>
608The irritating way to check your soundcard is to see if you can hear static on
609the speakers. This isn't exactly fun, but hey, it tells you the card is
610configured and working.
611</p>
612
613<pre caption="Bring on the static">
614# <i>cat /dev/urandom > /dev/dsp</i>
615</pre>
616
617<note>
618<path>/dev/dsp</path> is a symlink to <path>/dev/sound/dsp</path> and should be
619automatically created. Try re-directing the output to
620<path>/dev/sound/dsp</path> in case you don't get a "No such file or directory"
621error.
622</note>
623
624<p>
625You should hear static. Press <c>Ctrl + C</c> to stop. If you don't hear
626anything, now is a good time to go back and check/trace out the issue and
627rectify it.
628</p>
629 606
630<p> 607<p>
631Finally. Some music. If everything above is perfect, you should now be able to 608Finally. Some music. If everything above is perfect, you should now be able to
632listen to some good music. A quick way to test is to use a command line tool 609listen to some good music. A quick way to test is to use a command line tool
633like <c>media-sound/madplay</c>. You could also use something more well known 610like <c>media-sound/madplay</c>. You could also use something more well known

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65

  ViewVC Help
Powered by ViewVC 1.1.20