From c3cc38e4c40d23178330e035c8befc0443a2868b Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 28 Dec 2012 08:07:14 +0100 Subject: 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. --- DOCS/man/en/ao.rst | 15 +++++++++++++++ DOCS/man/en/vo.rst | 5 +++++ 2 files changed, 20 insertions(+) (limited to 'DOCS') 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= + 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= + 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. -- cgit v1.2.3