diff options
author | 2001-09-14 16:13:28 +0000 | |
---|---|---|
committer | 2001-09-14 16:13:28 +0000 | |
commit | 9d6a411ce24f6808962364370d9583490cf271d6 (patch) | |
tree | cdc52a1b88f1c73920a38f45a491419dd60bef39 /DOCS/sound.html | |
parent | 2f64d3e7e7f45a4b130c6eee098f0961a2a8a401 (diff) |
jo sok ilyen ize.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1893 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/sound.html')
-rw-r--r-- | DOCS/sound.html | 140 |
1 files changed, 84 insertions, 56 deletions
diff --git a/DOCS/sound.html b/DOCS/sound.html index 19329a0baf..5122359e90 100644 --- a/DOCS/sound.html +++ b/DOCS/sound.html @@ -5,81 +5,109 @@ <P><B><A NAME=2.2.2>2.2.2. Audio output devices</A></P></B> +<P><B>MPlayer</B>'s audio interface is called <I>libao2</I>. It currently +contains these drivers :</P> + <P><UL> <LI>OSS (ioctl) driver -<LI>SDL driver (supports up/downsampling, esd, arts etc) +<LI>SDL driver (supports up/downsampling, ESD, ARTS etc) <LI>native ALSA 0.5 driver -<LI>native ALSA 0.9 driver (buggy, use OSS emulation!) +<LI>native ALSA 0.9 driver (buggy, use OSS emulation instead!) <LI>ESD (through SDL) <LI>ARTS (through SDL) <LI>SUN audio driver (/dev/audio) for BSD and Solaris8 users </UL></P> +<P>The fact is, Linux soundcard drivers are usually shit, and always as +incompatible as they can be. It MAY take a while to find your optimal settings.</P> +<P><UL> +<LI>if you have OSS as driver, first try with <I>-ao oss</I> (this is the default). +If you experience glitches, halts or anything out of the ordinary, have a +look at <I>-ao sdl</I> (NOTE: of course you'll have to have a new SDL library and its +devel pair installed). It helps in a lot of cases (it also supports ESD, ARTS, and +up/downsampling. /esd is GNOME's, arts is KDE's sound daemon/).</LI> +<LI>if you have ALSA version 0.5, then you ALMOST always have to use <I>-ao alsa5</I> , +since 0.5 has buggy OSS emulation code, and will <B>crash MPlayer</B> with +a message like this:<BR> + <UL> + <CODE>DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!</CODE></UL> +</LI> +<LI>if you have ALSA version 0.9, use <I>-ao oss</I> or <I>-ao sdl</I> as you +wish.</LI> +</UL></P> + +<P>On <B>Solaris/FreeBSD</B> systems, use the SUN audio driver with the +<I>-ao sun</I> option, otherwise you'll have no video, nor audio playing.</P> + <P><B><A NAME=2.2.2.1>2.2.2.1. Soundcard experiences, recommendations</A></B></P> <P><TABLE BORDER=0 WIDTH=100%> -<TD COLSPAN=3><B>Aureal Vortex 2</B></TD><TR> -<TD> </TD><TD>OSS/Free:</TD><TD>no driver</TD><TR> -<TD></TD><TD>OSS:</TD><TD>OK</TD><TR> -<TD></TD><TD>ALSA:</TD><TD>no driver</TD><TR> -<TD></TD><TD>Max kHz:</TD><TD>48</TD><TR> -<TD></TD><TD>Driver:</TD><TD><A HREF="http://aureal.sourceforge.net">aureal.sourceforge.net</A></TD><TR> -<TD></TD><TD>Driver2:</TD><TD> from <A HREF="http://makacs.poliod.hu/~pontscho/aureal/au88xx-1.1.3.tar.bz2">here</A><BR> +<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Aureal Vortex 2</B></TD><TR> +<TD> </TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>no driver</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS/Pro:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>no driver</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD>48</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Driver:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF="http://aureal.sourceforge.net">aureal.sourceforge.net</A></TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Driver2:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> from <A HREF="http://makacs.poliod.hu/~pontscho/aureal/au88xx-1.1.3.tar.bz2">here</A><BR> (<I>buffer size increased to 64k</I>)</TD><TR> -<TD COLSPAN=3><B>GUS PnP</B></TD><TR> -<TD></TD><TD>OSS/Free:</TD><TD>no driver</TD><TR> -<TD></TD><TD>OSS:</TD><TD>OK</TD><TR> -<TD></TD><TD>ALSA:</TD><TD>OK</TD><TR> -<TD></TD><TD>Max kHz:</TD><TD>48</TD><TR> - -<TD COLSPAN=3><B>SB Live!</B></TD><TR> -<TD></TD><TD>OSS:</TD><TD>OK</TD><TR> -<TD></TD><TD>ALSA:</TD><TD>(?)</TD><TR> -<TD></TD><TD>Max kHz:</TD><TD>48</TD><TR> - -<TD COLSPAN=3><B>SB AWE 64</B></TD><TR> -<TD></TD><TD>OSS:</TD><TD>max 44kHz</TD><TR> -<TD></TD><TD>ALSA:</TD><TD>48kHz sounds shit</TD><TR> -<TD></TD><TD>Max kHz:</TD><TD>48</TD><TR> - -<TD COLSPAN=3><B>Gravis UltraSound ACE</B></TD><TR> -<TD></TD><TD>OSS:</TD><TD>max 44Khz. <I>Also has problems with the -new sound code.</I></TD><TR> -<TD></TD><TD>ALSA:</TD><TD>OK</TD><TR> -<TD></TD><TD>Max kHz:</TD><TD>48</TD><TR> - -<TD COLSPAN=3><B>Gravis UltraSound MAX</B></TD><TR> -<TD></TD><TD>OSS:</TD><TD>OK</TD><TR> -<TD></TD><TD>ALSA:</TD><TD>OK (?)</TD><TR> -<TD></TD><TD>Max kHz:</TD><TD>48</TD><TR> - -<TD COLSPAN=3><B>ESS 688</B></TD><TR> -<TD></TD><TD>OSS:</TD><TD>OK</TD><TR> -<TD></TD><TD>ALSA:</TD><TD>OK (?)</TD><TR> -<TD></TD><TD>Max kHz:</TD><TD>48</TD><TR> - -<TD COLSPAN=3><B>C-Media cards (which ones?)</B></TD><TR> -<TD></TD><TD>OSS:</TD><TD>not OK (hissing) (?)</TD><TR> -<TD></TD><TD>ALSA:</TD><TD>OK (?)</TD><TR> -<TD></TD><TD>Max kHz:</TD><TD>?</TD><TR> - -<TD COLSPAN=3><B>PC Speaker or DAC</B></TD><TR> -<TD></TD><TD>OSS:</TD><TD>OK (<I>use the SDL driver : -ao sdl</I>)</TD><TR> -<TD></TD><TD>ALSA:</TD><TD>no driver</TD><TR> -<TD></TD><TD>Max kHz:</TD><TD>the driver emulates 44.1 maybe more</TD><TR> -<TD></TD><TD>Driver:</TD><TD><A HREF="ftp://ftp.infradead.org/pub/pcsp">ftp://ftp.infradead.org/pub/pcsp</A></TD><TR> +<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>GUS PnP</B></TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>no driver</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS/Pro:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>48</TD><TR> + +<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>SB Live!</B></TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>(?)</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>48</TD><TR> + +<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>SB AWE 64</B></TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>max 44kHz</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>48kHz sounds shit</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>48</TD><TR> + +<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Gravis UltraSound ACE</B></TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>max 44Khz. <I>not OK</I></TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>48</TD><TR> + +<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Gravis UltraSound MAX</B></TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK (?)</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>48</TD><TR> + +<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ESS 688</B></TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK (?)</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>48</TD><TR> + +<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>C-Media cards (which ones?)</B></TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>not OK (hissing) (?)</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK (?)</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>?</TD><TR> + +<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Tecra 8100 (?) (ymf-pci)</B></TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>not OK (?)</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK only with ALSA 0.5 with OSS emulation <B>AND</B> <I>-ao sdl</I> (!) (?)</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>?</TD><TR> + +<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>PC Speaker or DAC</B></TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK (<I>use the SDL driver : -ao sdl</I>)</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>no driver</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>the driver emulates 44.1 maybe more</TD><TR> +<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Driver:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A HREF="ftp://ftp.infradead.org/pub/pcsp">ftp://ftp.infradead.org/pub/pcsp</A></TD><TR> </TABLE></P> <P><UL> -<LI> use at least 2.4 if possible, 2.2 isn't tested -<LI> if sound clicks when playing from CD-ROM, turn on IRQ unmasking ! +<LI>on Linux, use at least kernel 2.4 if possible, 2.2 isn't tested +<LI>if sound clicks when playing from CD-ROM, turn on IRQ unmasking ! for example "hdparm -u1 /dev/cdrom" (see "man hdparm" !!!) This is recommended anyways... (for XMMS, etc...) Read section <A HREF="cd-dvd.html#4.1">4.1</A>. -<LI> don't use your soundcard by other application ( for ex. XMMS ) ! - if you use ESD, start MPlayer with the '-vo sdl:esd' option ! -<LI> Please tell us how MPlayer and your soundcard(s) worked together! +<LI>don't use your soundcard by other application ( for ex. XMMS ) ! + if you use ESD, start MPlayer with the '-vo adl:esd' option ! +<LI>Please tell us how MPlayer and your soundcard(s) worked together! </UL></P> </BODY> |