annotate DOCS/xml/en/audio.xml @ 23620:358aa103e796

get_path prototype is already in interface.h and probably many more places.
author reimar
date Sun, 24 Jun 2007 11:09:32 +0000
parents b210a229fbcb
children b89c59df8ba6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20535
c0687e92d463 convert DOCS/xml/en and help_mp-en.h to UTF-8
kraymer
parents: 17321
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
10913
49b1a67e7381 Add revision keyword to english xml files, to ease translation synchronization
lumag
parents: 10178
diff changeset
2 <!-- $Revision$ -->
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 14787
diff changeset
3 <chapter id="audio">
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
4 <title>Audio output devices</title>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 14787
diff changeset
5 <sect1 id="sync">
14443
35de3132c1ea Typo, remove mention of audio plugins.
diego
parents: 14442
diff changeset
6 <title>Audio/Video synchronization</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
7
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
8 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 Linux sound card drivers have compatibility problems. This is because
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
10 <application>MPlayer</application> relies on an in-built feature of
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
11 <emphasis>properly</emphasis> coded sound drivers that enable them to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
12 maintain correct audio/video sync. Regrettably, some driver authors
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
13 don't take the care to code this feature since it is not needed for
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
14 playing MP3s or sound effects.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
15 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
16
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 <para>
13977
7895a1b73828 URL updates
diego
parents: 13912
diff changeset
18 Other media players like <ulink url="http://avifile.sf.net">aviplay</ulink>
7895a1b73828 URL updates
diego
parents: 13912
diff changeset
19 or <ulink url="http://xinehq.de">xine</ulink> possibly work
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
20 out-of-the-box with these drivers because they use "simple" methods
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 with internal timing. Measuring showed that their methods are not as
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 efficient as <application>MPlayer</application>'s.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
23 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
24
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
25 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
26 Using <application>MPlayer</application> with a properly written audio
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
27 driver will never result in A/V desyncs related to the audio, except
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
28 only with very badly created files (check the man page for workarounds).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
29 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
30
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
31 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
32 If you happen to have a bad audio driver, try the <option>-autosync</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 option, it should sort out your problems. See the man page for detailed
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
34 information.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
35 </para>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 14787
diff changeset
36 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
37
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
38
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
39 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
40
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
41
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 14787
diff changeset
42 <sect1 id="troubleshooting">
14632
f07f529210c3 Updated the outdated audio section somewhat.
diego
parents: 14444
diff changeset
43 <title>Troubleshooting</title>
f07f529210c3 Updated the outdated audio section somewhat.
diego
parents: 14444
diff changeset
44
f07f529210c3 Updated the outdated audio section somewhat.
diego
parents: 14444
diff changeset
45 <para>Some notes:</para>
f07f529210c3 Updated the outdated audio section somewhat.
diego
parents: 14444
diff changeset
46
f07f529210c3 Updated the outdated audio section somewhat.
diego
parents: 14444
diff changeset
47 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
48 If you have ALSA version 0.5, then you almost always have to use
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
49 <option>-ao alsa5</option>, since ALSA 0.5 has buggy OSS emulation code,
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
50 and will <emphasis role="bold">crash <application>MPlayer</application></emphasis>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
51 with a message like this:
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
52 <screen>
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
53 DEMUXER: Too many (945 in 8390980 bytes) video packets in the buffer!
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
54 </screen>
14632
f07f529210c3 Updated the outdated audio section somewhat.
diego
parents: 14444
diff changeset
55 </para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
56
14632
f07f529210c3 Updated the outdated audio section somewhat.
diego
parents: 14444
diff changeset
57 <para>
21521
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
58 If the sound clicks when playing from CD-ROM, turn on IRQ unmasking as
b210a229fbcb General reformatting round:
torinthiel
parents: 20535
diff changeset
59 described in the <link linkend="drives">CD-ROM</link> section.
14632
f07f529210c3 Updated the outdated audio section somewhat.
diego
parents: 14444
diff changeset
60 </para>
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 14787
diff changeset
61 </sect1>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
62
17321
7f9fcf5245a0 Improve overall structure by adding a few top-level chapters so that
diego
parents: 14787
diff changeset
63 </chapter>