487 lines
7.2 KiB
HTML
487 lines
7.2 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>The Linux Sound HOWTO</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.63
|
|
"><LINK
|
|
REL="NEXT"
|
|
TITLE="Introduction"
|
|
HREF="x24.html"></HEAD
|
|
><BODY
|
|
CLASS="ARTICLE"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="ARTICLE"
|
|
><DIV
|
|
CLASS="TITLEPAGE"
|
|
><H1
|
|
CLASS="TITLE"
|
|
><A
|
|
NAME="AEN2"
|
|
>The Linux Sound HOWTO</A
|
|
></H1
|
|
><H3
|
|
CLASS="AUTHOR"
|
|
><A
|
|
NAME="AEN4"
|
|
>Jeff Tranter</A
|
|
></H3
|
|
><DIV
|
|
CLASS="AFFILIATION"
|
|
><DIV
|
|
CLASS="ADDRESS"
|
|
><P
|
|
CLASS="ADDRESS"
|
|
>tranter@pobox.com</P
|
|
></DIV
|
|
></DIV
|
|
><P
|
|
CLASS="PUBDATE"
|
|
>v1.22, 16 July 2001<BR></P
|
|
><DIV
|
|
CLASS="REVHISTORY"
|
|
><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
><TR
|
|
><TH
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
COLSPAN="3"
|
|
><B
|
|
>Revision History</B
|
|
></TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>Revision 1.22</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>2001-07-16</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>Revised by: jjt</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
COLSPAN="3"
|
|
>Relicensed under the GFDL.</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>Revision 1.21</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>2001-05-11</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>Revised by: jjt</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
COLSPAN="3"
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
><DIV
|
|
><DIV
|
|
CLASS="ABSTRACT"
|
|
><A
|
|
NAME="AEN22"
|
|
></A
|
|
><P
|
|
></P
|
|
><P
|
|
>This document describes sound support for Linux. It lists the
|
|
supported sound hardware, describes how to configure the kernel
|
|
drivers, and answers frequently asked questions. The intent is to
|
|
bring new users up to speed more quickly and reduce the amount of
|
|
traffic in the Usenet news groups and mailing lists.</P
|
|
><P
|
|
></P
|
|
></DIV
|
|
></DIV
|
|
><HR></DIV
|
|
><DIV
|
|
CLASS="TOC"
|
|
><DL
|
|
><DT
|
|
><B
|
|
>Table of Contents</B
|
|
></DT
|
|
><DT
|
|
>1. <A
|
|
HREF="x24.html"
|
|
>Introduction</A
|
|
></DT
|
|
><DD
|
|
><DL
|
|
><DT
|
|
>1.1. <A
|
|
HREF="x24.html#AEN29"
|
|
>Acknowledgments</A
|
|
></DT
|
|
><DT
|
|
>1.2. <A
|
|
HREF="x24.html#AEN35"
|
|
>New versions of this document</A
|
|
></DT
|
|
><DT
|
|
>1.3. <A
|
|
HREF="x24.html#AEN60"
|
|
>Feedback</A
|
|
></DT
|
|
><DT
|
|
>1.4. <A
|
|
HREF="x24.html#AEN67"
|
|
>Distribution Policy</A
|
|
></DT
|
|
></DL
|
|
></DD
|
|
><DT
|
|
>2. <A
|
|
HREF="x71.html"
|
|
>Sound Card Technology</A
|
|
></DT
|
|
><DT
|
|
>3. <A
|
|
HREF="x96.html"
|
|
>Supported Hardware</A
|
|
></DT
|
|
><DD
|
|
><DL
|
|
><DT
|
|
>3.1. <A
|
|
HREF="x96.html#AEN101"
|
|
>Platform Notes</A
|
|
></DT
|
|
><DT
|
|
>3.2. <A
|
|
HREF="x96.html#AEN109"
|
|
>Sound Card Types</A
|
|
></DT
|
|
><DT
|
|
>3.3. <A
|
|
HREF="x96.html#AEN120"
|
|
>Sound Cards</A
|
|
></DT
|
|
><DT
|
|
>3.4. <A
|
|
HREF="x96.html#AEN278"
|
|
>Alternate Sound Drivers</A
|
|
></DT
|
|
></DL
|
|
></DD
|
|
><DT
|
|
>4. <A
|
|
HREF="x320.html"
|
|
>Installation</A
|
|
></DT
|
|
><DD
|
|
><DL
|
|
><DT
|
|
>4.1. <A
|
|
HREF="x320.html#AEN338"
|
|
>Installing the Sound Card</A
|
|
></DT
|
|
><DT
|
|
>4.2. <A
|
|
HREF="x320.html#AEN343"
|
|
>Configuring ISA Plug and Play</A
|
|
></DT
|
|
><DT
|
|
>4.3. <A
|
|
HREF="x320.html#AEN367"
|
|
>Configuring the Kernel</A
|
|
></DT
|
|
><DT
|
|
>4.4. <A
|
|
HREF="x320.html#AEN383"
|
|
>Creating the Device Files</A
|
|
></DT
|
|
><DT
|
|
>4.5. <A
|
|
HREF="x320.html#AEN391"
|
|
>Booting Linux and Testing the Installation</A
|
|
></DT
|
|
><DT
|
|
>4.6. <A
|
|
HREF="x320.html#AEN415"
|
|
>Troubleshooting</A
|
|
></DT
|
|
></DL
|
|
></DD
|
|
><DT
|
|
>5. <A
|
|
HREF="x478.html"
|
|
>Applications Supporting Sound</A
|
|
></DT
|
|
><DT
|
|
>6. <A
|
|
HREF="x504.html"
|
|
>Answers To Frequently Asked Questions</A
|
|
></DT
|
|
><DD
|
|
><DL
|
|
><DT
|
|
>6.1. <A
|
|
HREF="x504.html#AEN508"
|
|
>What are the various sound device files?</A
|
|
></DT
|
|
><DT
|
|
>6.2. <A
|
|
HREF="x504.html#AEN600"
|
|
>How can I play a sound sample?</A
|
|
></DT
|
|
><DT
|
|
>6.3. <A
|
|
HREF="x504.html#AEN611"
|
|
>How can I record a sample?</A
|
|
></DT
|
|
><DT
|
|
>6.4. <A
|
|
HREF="x504.html#AEN617"
|
|
>Can I have more than one sound card?</A
|
|
></DT
|
|
><DT
|
|
>6.5. <A
|
|
HREF="x504.html#AEN638"
|
|
>Error: No such file or directory for sound devices</A
|
|
></DT
|
|
><DT
|
|
>6.6. <A
|
|
HREF="x504.html#AEN641"
|
|
>Error: No such device for sound devices</A
|
|
></DT
|
|
><DT
|
|
>6.7. <A
|
|
HREF="x504.html#AEN644"
|
|
>Error: No space left on device for sound devices</A
|
|
></DT
|
|
><DT
|
|
>6.8. <A
|
|
HREF="x504.html#AEN651"
|
|
>Error: Device busy for sound devices</A
|
|
></DT
|
|
><DT
|
|
>6.9. <A
|
|
HREF="x504.html#AEN662"
|
|
>I still get device busy errors!</A
|
|
></DT
|
|
><DT
|
|
>6.10. <A
|
|
HREF="x504.html#AEN665"
|
|
>Partial playback of digitized sound file</A
|
|
></DT
|
|
><DT
|
|
>6.11. <A
|
|
HREF="x504.html#AEN670"
|
|
>There are pauses when playing MOD files</A
|
|
></DT
|
|
><DT
|
|
>6.12. <A
|
|
HREF="x504.html#AEN685"
|
|
>Compile errors when compiling sound applications</A
|
|
></DT
|
|
><DT
|
|
>6.13. <A
|
|
HREF="x504.html#AEN693"
|
|
>SEGV when running sound binaries that worked previously</A
|
|
></DT
|
|
><DT
|
|
>6.14. <A
|
|
HREF="x504.html#AEN696"
|
|
>What known bugs or limitations are there in the sound driver?</A
|
|
></DT
|
|
><DT
|
|
>6.15. <A
|
|
HREF="x504.html#AEN699"
|
|
>Where are the sound driver ioctls() etc. documented?</A
|
|
></DT
|
|
><DT
|
|
>6.16. <A
|
|
HREF="x504.html#AEN704"
|
|
>What CPU resources are needed to play or record without pauses?</A
|
|
></DT
|
|
><DT
|
|
>6.17. <A
|
|
HREF="x504.html#AEN724"
|
|
>Problems with a PAS16 and an Adaptec 1542 SCSI host adaptor</A
|
|
></DT
|
|
><DT
|
|
>6.18. <A
|
|
HREF="x504.html#AEN745"
|
|
>Is it possible to read and write samples simultaneously?</A
|
|
></DT
|
|
><DT
|
|
>6.19. <A
|
|
HREF="x504.html#AEN748"
|
|
>My SB16 is set to IRQ 2, but configure does not allow this value.</A
|
|
></DT
|
|
><DT
|
|
>6.20. <A
|
|
HREF="x504.html#AEN751"
|
|
>If I run Linux, then boot DOS, I get errors and/or sound applications do not work properly.</A
|
|
></DT
|
|
><DT
|
|
>6.21. <A
|
|
HREF="x504.html#AEN758"
|
|
>Problems running DOOM under Linux</A
|
|
></DT
|
|
><DT
|
|
>6.22. <A
|
|
HREF="x504.html#AEN770"
|
|
>How can I reduce noise picked up by my sound card?</A
|
|
></DT
|
|
><DT
|
|
>6.23. <A
|
|
HREF="x504.html#AEN778"
|
|
>I can play sounds, but not record.</A
|
|
></DT
|
|
><DT
|
|
>6.24. <A
|
|
HREF="x504.html#AEN790"
|
|
>My "compatible" sound card only works if I first initialize under MS-DOS.</A
|
|
></DT
|
|
><DT
|
|
>6.25. <A
|
|
HREF="x504.html#AEN794"
|
|
>My 16-bit SoundBlaster "compatible" sound card only works in 8-bit mode under Linux.</A
|
|
></DT
|
|
><DT
|
|
>6.26. <A
|
|
HREF="x504.html#AEN798"
|
|
>Where can I find sound applications for Linux?</A
|
|
></DT
|
|
><DT
|
|
>6.27. <A
|
|
HREF="x504.html#AEN822"
|
|
>Can the sound drivers be compiled as a loadable module?</A
|
|
></DT
|
|
><DT
|
|
>6.28. <A
|
|
HREF="x504.html#AEN829"
|
|
>Can I use a sound card to replace the system console beep?</A
|
|
></DT
|
|
><DT
|
|
>6.29. <A
|
|
HREF="x504.html#AEN841"
|
|
>What is VoxWare?</A
|
|
></DT
|
|
><DT
|
|
>6.30. <A
|
|
HREF="x504.html#AEN852"
|
|
>Sox/Play/Vplay reports "invalid block size 1024"</A
|
|
></DT
|
|
><DT
|
|
>6.31. <A
|
|
HREF="x504.html#AEN855"
|
|
>The mixer settings are reset whenever I load the sound driver module</A
|
|
></DT
|
|
><DT
|
|
>6.32. <A
|
|
HREF="x504.html#AEN867"
|
|
>Only user root can record sound</A
|
|
></DT
|
|
><DT
|
|
>6.33. <A
|
|
HREF="x504.html#AEN872"
|
|
>Is the sound hardware on the IBM ThinkPad supported?</A
|
|
></DT
|
|
><DT
|
|
>6.34. <A
|
|
HREF="x504.html#AEN876"
|
|
>Applications fail because my sound card has no mixer</A
|
|
></DT
|
|
><DT
|
|
>6.35. <A
|
|
HREF="x504.html#AEN882"
|
|
>Problems with a SB16 CT4170</A
|
|
></DT
|
|
><DT
|
|
>6.36. <A
|
|
HREF="x504.html#AEN887"
|
|
>How to connect a MIDI keyboard to a soundcard</A
|
|
></DT
|
|
><DT
|
|
>6.37. <A
|
|
HREF="x504.html#AEN897"
|
|
>Problems with IRQ 15 and Ensoniq PCI 128</A
|
|
></DT
|
|
><DT
|
|
>6.38. <A
|
|
HREF="x504.html#AEN910"
|
|
>Where can I get freely available MIDI patches to run SoftOSS?</A
|
|
></DT
|
|
></DL
|
|
></DD
|
|
><DT
|
|
>7. <A
|
|
HREF="x916.html"
|
|
>References</A
|
|
></DT
|
|
></DL
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x24.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Introduction</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |