summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorRudolf Polzer <divverent@xonotic.org>2012-12-28 08:07:14 +0100
committerRudolf Polzer <divverent@xonotic.org>2012-12-28 08:40:28 +0100
commitc3cc38e4c40d23178330e035c8befc0443a2868b (patch)
treebbcb141fb3c1e044b392297c310850aff6e63fd4 /DOCS/man
parente830b004580a547c1d27f106ca493c70712ec1a6 (diff)
downloadmpv-c3cc38e4c40d23178330e035c8befc0443a2868b.tar.bz2
mpv-c3cc38e4c40d23178330e035c8befc0443a2868b.tar.xz
vo/ao: SDL 1.2+ audio driver, SDL 2.0+ accelerated video driver
This mainly serves as a fallback for platforms where nothing better is available; also as a debugging help. Both the audio and video driver are not first class - the audio driver lacks delay detection, and the video driver only supports a single YUV color space. Configure options: --disable-sdl2 to disable SDL 2.0+ detection, --disable-sdl to disable SDL 1.2+ detection. Both options need to be specified to turn off SDL support entirely.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/en/ao.rst15
-rw-r--r--DOCS/man/en/vo.rst5
2 files changed, 20 insertions, 0 deletions
diff --git a/DOCS/man/en/ao.rst b/DOCS/man/en/ao.rst
index ae0432784f..dc7b7fccb1 100644
--- a/DOCS/man/en/ao.rst
+++ b/DOCS/man/en/ao.rst
@@ -92,6 +92,21 @@ dsound (Windows only)
Sets the device number to use. Playing a file with ``-v`` will show a
list of available devices.
+sdl
+ SDL 1.2+ audio output driver. Should work everywhere where SDL 1.2 builds,
+ but may require the SDL_AUDIODRIVER environment variable to be set
+ appropriately for your system.
+
+ buflen=<length>
+ Sets the audio buffer length in seconds. Is used only approximately,
+ or even disaregarded entirely by the sound system. Playing a file with
+ ``-v`` will show the requested and obtained exact buffer size. A value
+ of 0 selects the sound system default.
+
+ bufcnt=<count>
+ Sets the number of extra audio buffers in mpv. Usually needs not be
+ changed.
+
null
Produces no audio output but maintains video playback speed. Use
``--no-audio`` for benchmarking.
diff --git a/DOCS/man/en/vo.rst b/DOCS/man/en/vo.rst
index 1bfe5fbf1f..cf92d97efa 100644
--- a/DOCS/man/en/vo.rst
+++ b/DOCS/man/en/vo.rst
@@ -660,6 +660,11 @@ opengl-old
x11
X11/GLX
+sdl
+ SDL 2.0+ Render video output driver, depending on system with or without
+ hardware acceleration. Should work everywhere where SDL 2.0 builds. For
+ tuning, refer to your copy of the file SDL_hints.h.
+
null
Produces no video output. Useful for benchmarking.