/[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.28 Revision 1.29
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.28 2004/03/10 18:42:08 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.29 2004/03/11 10:00:47 neysx Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link = "/doc/en/alsa-guide.xml"> 5<guide link = "/doc/en/alsa-guide.xml">
6<title>Gentoo Linux ALSA Guide</title> 6<title>Gentoo Linux ALSA Guide</title>
7<author title="Author"> 7<author title="Author">
8 <mail link="zu@pandora.be">Vincent Verleye</mail> 8 <mail link="zu@pandora.be">Vincent Verleye</mail>
9</author> 9</author>
10<author title="Author"> 10<author title="Author">
11 <mail link="g2boojum@gentoo.org">Grant Goodyear</mail> 11 <mail link="g2boojum@gentoo.org">Grant Goodyear</mail>
12</author> 12</author>
13<author title="Author"> 13<author title="Author">
14 <mail link="agenkin@gentoo.org">Arcady Genkin</mail> 14 <mail link="agenkin@gentoo.org">Arcady Genkin</mail>
15</author> 15</author>
16<author title="Author"> 16<author title="Author">
17 <mail link="eradicator@gentoo.org">Jeremy Huddleston</mail> 17 <mail link="eradicator@gentoo.org">Jeremy Huddleston</mail>
400root.audio. Thus, for non-root users to use audio they will have to be part of 400root.audio. Thus, for non-root users to use audio they will have to be part of
401the audio group. 401the audio group.
402</note> 402</note>
403 403
404</body> 404</body>
405</section> 405</section>
406</chapter> 406</chapter>
407 407
408<chapter> 408<chapter>
409<title>Starting ALSA</title> 409<title>Starting ALSA</title>
410<section> 410<section>
411<title>Adding alsasound to a runlevel</title> 411<title>Adding alsasound to a runlevel</title>
412<body> 412<body>
413 413
414<p> 414<p>
415An init script is provided for you which will install all neccessary sound drivers 415An init script is provided for you which will install all necessary sound
416for your card (including the OSS support drivers if you set USE=oss). The first 416drivers for your card (including the OSS support drivers if you set USE=oss).
417thing to do now is to make ALSA startup at boot time: 417The first thing to do now is to make ALSA startup at boot time:
418</p> 418</p>
419 419
420<pre caption="Add ALSA to the boot runlevel"> 420<pre caption="Add ALSA to the boot runlevel">
421# <i>rc-update add alsasound boot</i> 421# <i>rc-update add alsasound boot</i>
422</pre> 422</pre>
423 423
424<warn> 424<warn>
425Note that the alsasound script should be added to the "boot" runlevel, not the 425Note that the alsasound script should be added to the "boot" runlevel, not the
426"default" runlevel. 426"default" runlevel.
427</warn> 427</warn>
428 428
429</body> 429</body>
430</section> 430</section>
431<section> 431<section>
432<title>Running and unmuting</title> 432<title>Running and unmuting</title>
508To use them, you must first install the <c>awesfx</c> package. 508To use them, you must first install the <c>awesfx</c> package.
509</p> 509</p>
510 510
511<pre caption="Install awesfx"> 511<pre caption="Install awesfx">
512# <i>emerge awesfx</i> 512# <i>emerge awesfx</i>
513</pre> 513</pre>
514 514
515<p> 515<p>
516Now, you should place your sound fonts in <path>/usr/share/sfbank/</path>. You 516Now, you should place your sound fonts in <path>/usr/share/sfbank/</path>. You
517can probably get the sound fonts off of the windows driver CD for your sound card. 517can probably get the sound fonts off of the windows driver CD for your sound card.
518With the SBLive, one of the included sound font files is called 8MBGMSFX.SF2. 518With the SBLive, one of the included sound font files is called 8MBGMSFX.SF2.
519</p> 519</p>
520 520
521<note> 521<note>
522On some recents CD supplied with a SBLive, the font file is called CT4GMSFX.SF2. 522On some recents CD supplied with a SBLive, the font file is called CT4GMSFX.SF2.
523If it is your case, please replace all occurences of 8MBGMSFX.SF2 with 523If it is your case, please replace all occurrences of 8MBGMSFX.SF2 with
524CT4GMSFX.SF2 in the examples. 524CT4GMSFX.SF2 in the examples.
525</note> 525</note>
526 526
527<p> 527<p>
528After copying over the sound font you want to use, you need to select it for use 528After copying over the sound font you want to use, you need to select it for use
529with <c>/usr/bin/sfxload</c>. 529with <c>/usr/bin/sfxload</c>.
530</p> 530</p>
531 531
532<pre caption="Selecting the sound font"> 532<pre caption="Selecting the sound font">
533# <i>/usr/bin/sfxload /usr/share/sfbank/8MBGMSFX.SF2</i> 533# <i>/usr/bin/sfxload /usr/share/sfbank/8MBGMSFX.SF2</i>
534</pre> 534</pre>
535 535
536<note> 536<note>
537You may wish to place this command in /etc/conf.d/local.start or in the startup 537You may wish to place this command in /etc/conf.d/local.start or in the startup
538script for your sound card (/etc/alsa.d/emu10k1) to make sure it gets loaded 538script for your sound card (/etc/alsa.d/emu10k1) to make sure it gets loaded

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.20