comparison DOCS/sound.html @ 8751:f117a4150786

We now have -ao esd.
author diego
date Fri, 03 Jan 2003 22:56:18 +0000
parents f6323ff433aa
children 52088761d77e
comparison
equal deleted inserted replaced
8750:f6323ff433aa 8751:f117a4150786
15 <H4><A NAME="sync">2.3.2.1 Audio/Video synchronisation</A></H4> 15 <H4><A NAME="sync">2.3.2.1 Audio/Video synchronisation</A></H4>
16 16
17 <P>MPlayer's audio interface is called <I>libao2</I>. It currently 17 <P>MPlayer's audio interface is called <I>libao2</I>. It currently
18 contains these drivers:</P> 18 contains these drivers:</P>
19 19
20 <TABLE BORDER="0"> 20 <DL>
21 <TR><TD COLSPAN=4><P><B>General:</B></P></TD></TR> 21 <DT>oss</DT>
22 <TR><TD>&nbsp;&nbsp;</TD><TD VALIGN=top>oss</TD><TD>&nbsp;&nbsp;</TD><TD>OSS (ioctl) driver (supports hardware AC3 passthrough)</TD></TR> 22 <DD>OSS (ioctl) driver (supports hardware AC3 passthrough)</DD>
23 <TR><TD></TD><TD VALIGN=top>sdl</TD><TD></TD><TD>SDL driver (supports <B>ESD</B>, <B>ARTS</B> etc)</TD></TR> 23
24 <TR><TD></TD><TD VALIGN=top>nas</TD><TD></TD><TD>NAS (Network Audio System) driver</TD></TR> 24 <DT>sdl</DT>
25 <TR><TD></TD><TD VALIGN=top>alsa5</TD><TD></TD><TD>native ALSA 0.5 driver</TD></TR> 25 <DD>SDL driver (supports <B>ESD</B>, <B>ARTS</B> etc)</DD>
26 <TR><TD></TD><TD VALIGN=top>alsa9</TD><TD></TD><TD>native ALSA 0.9 driver (supports hardware AC3 passthrough)</TD></TR> 26
27 <TR><TD></TD><TD VALIGN=top>sun</TD><TD></TD><TD>SUN audio driver (<CODE>/dev/audio</CODE>) for BSD and Solaris8 users</TD></TR> 27 <DT>nas</DT>
28 <TR><TD></TD><TD VALIGN=top>arts</TD><TD></TD><TD>native ARTS driver (mostly for KDE users)</TD></TR> 28 <DD>NAS (Network Audio System) driver</DD>
29 </TABLE> 29
30 <DT>alsa5</DT>
31 <DD>native ALSA 0.5 driver</DD>
32
33 <DT>alsa9</DT>
34 <DD>native ALSA 0.9 driver (supports hardware AC3 passthrough)</DD>
35
36 <DT>sun</DT>
37 <DD>SUN audio driver (<CODE>/dev/audio</CODE>) for BSD and Solaris8 users</DD>
38
39 <DT>arts</DT>
40 <DD>native ARTS driver (mostly for KDE users)</DD>
41
42 <DT>esd</DT>
43 <DD>native ESD driver (mostly for GNOME users)</DD>
44 </DL>
30 45
31 <P>Fact is, Linux sound card drivers have compatibility problems. The cause 46 <P>Fact is, Linux sound card drivers have compatibility problems. The cause
32 is that MPlayer uses a feature that well coded audio drivers implement to 47 is that MPlayer uses a feature that well coded audio drivers implement to
33 maintain audio/video sync. Regrettably, some driver authors do not care about 48 maintain audio/video sync. Regrettably, some driver authors do not care about
34 this function, it is not needed for playing MP3s or for sound effects.</P> 49 this function, it is not needed for playing MP3s or for sound effects.</P>
75 <TR><TD>&nbsp;&nbsp;&nbsp;&nbsp;</TD><TD>OSS:</TD><TD>no driver</TD></TR> 90 <TR><TD>&nbsp;&nbsp;&nbsp;&nbsp;</TD><TD>OSS:</TD><TD>no driver</TD></TR>
76 <TR><TD></TD><TD>OSS/Pro:</TD><TD>OK</TD></TR> 91 <TR><TD></TD><TD>OSS/Pro:</TD><TD>OK</TD></TR>
77 <TR><TD></TD><TD>ALSA:</TD><TD>no driver</TD></TR> 92 <TR><TD></TD><TD>ALSA:</TD><TD>no driver</TD></TR>
78 <TR><TD></TD><TD>Max kHz:</TD><TD>48</TD></TR> 93 <TR><TD></TD><TD>Max kHz:</TD><TD>48</TD></TR>
79 <TR><TD></TD><TD>Driver:</TD><TD><A HREF="http://aureal.sourceforge.net">aureal.sourceforge.net</A></TD></TR> 94 <TR><TD></TD><TD>Driver:</TD><TD><A HREF="http://aureal.sourceforge.net">aureal.sourceforge.net</A></TD></TR>
80 <TR><TD></TD><TD>Driver2:</TD><TD> from <A HREF="http://makacs.poliod.hu/~pontscho/aureal/au88xx-1.1.3.tar.bz2">Pontscho's page</A><BR> 95 <TR><TD></TD><TD>Driver2:</TD><TD> from <A HREF="http://makacs.poliod.hu/~pontscho/aureal/au88xx-1.1.3.tar.bz2">Pontscho's page</A>
81 (<I>buffer size increased to 32k</I>)</TD></TR> 96 (<I>buffer size increased to 32k</I>)</TD></TR>
82 97
83 <TR><TD COLSPAN=3><B>GUS PnP</B></TD></TR> 98 <TR><TD COLSPAN=3><B>GUS PnP</B></TD></TR>
84 <TR><TD></TD><TD>OSS:</TD><TD>no driver</TD></TR> 99 <TR><TD></TD><TD>OSS:</TD><TD>no driver</TD></TR>
85 <TR><TD></TD><TD>OSS/Pro:</TD><TD>OK</TD></TR> 100 <TR><TD></TD><TD>OSS/Pro:</TD><TD>OK</TD></TR>
138 153
139 <P>If the sound clicks when playing from CD-ROM, turn on IRQ unmasking, e.g. 154 <P>If the sound clicks when playing from CD-ROM, turn on IRQ unmasking, e.g.
140 <CODE>hdparm -u1 /dev/cdrom</CODE> (<CODE>man hdparm</CODE>). This is 155 <CODE>hdparm -u1 /dev/cdrom</CODE> (<CODE>man hdparm</CODE>). This is
141 generally beneficial and described in more detail in the 156 generally beneficial and described in more detail in the
142 <A HREF="cd-dvd.html#drives">CD-ROM section</A>.</P> 157 <A HREF="cd-dvd.html#drives">CD-ROM section</A>.</P>
143
144 <P>Sharing your sound card with another application like XMMS is <B>strongly
145 discouraged</B>! If the other sound application is using ESD, start
146 MPlayer with the <CODE>-vo sdl:esd</CODE> option to combine both
147 sound streams. In fact, the option <CODE>-vo sdl:esd</CODE> could be used
148 with ESD even when playing MPlayer alone.</P>
149 158
150 <P>Feedback to this document is welcome. Please tell us how MPlayer 159 <P>Feedback to this document is welcome. Please tell us how MPlayer
151 and your sound card(s) worked together.</P> 160 and your sound card(s) worked together.</P>
152 161
153 162
206 gives a lot higher sound quality than fix point processing.</DD> 215 gives a lot higher sound quality than fix point processing.</DD>
207 <DT>3</DT> 216 <DT>3</DT>
208 <DD>Use no automatic insertion of filters and no optimization. Warning: It 217 <DD>Use no automatic insertion of filters and no optimization. Warning: It
209 may be possible to crash MPlayer using this setting.</DD> 218 may be possible to crash MPlayer using this setting.</DD>
210 </DL> 219 </DL>
211
212 </DD> 220 </DD>
213 221
214 <DT><CODE>list</CODE></DT> 222 <DT><CODE>list</CODE></DT>
215 <DD>is an alias for the -af switch.</DD> 223 <DD>is an alias for the -af switch.</DD>
216 </DL> 224 </DL>