Mercurial > mplayer.hg
diff DOCS/man/en/mplayer.1 @ 17616:92431bc3d014
This patch removes mmap support because it doesn't have any benefit.
Directly accessing the sample buffer makes sense only when the samples
can be constructed in-place. When the samples are just copied from
another buffer (as is the case with libao2 drivers), the code to copy
those samples is just a reimplementation of snd_pcm_writei(), so we
could as well use that function.
Besides, the current mmap code does not work except in the most simple
cases: it claims to support non-interleaved and complex sample formats,
but treats them the same as interleaved formats and writes to the wrong
memory location.
author | cladisch |
---|---|
date | Mon, 13 Feb 2006 11:15:25 +0000 |
parents | 0cccfbe7b5d5 |
children | 5963b50c2178 |
line wrap: on
line diff
--- a/DOCS/man/en/mplayer.1 Mon Feb 13 07:29:11 2006 +0000 +++ b/DOCS/man/en/mplayer.1 Mon Feb 13 11:15:25 2006 +0000 @@ -2045,8 +2045,8 @@ .RSs .IPs "\-ao alsa,oss," Try the ALSA driver, then the OSS driver, then others. -.IPs "\-ao alsa:mmap:noblock:device=hw=0.3" -Sets noblock-mode, mmap-mode and the device-name as first card, fourth device. +.IPs "\-ao alsa:noblock:device=hw=0.3" +Sets noblock-mode and the device-name as first card, fourth device. .RE .PD 1 .sp 1 @@ -2057,8 +2057,6 @@ ALSA 0.9/1.x audio output driver .PD 0 .RSs -.IPs mmap\ \ \ -Sets experimental mmap-mode (does not work for more than 2 channels). .IPs noblock Sets noblock-mode. .IPs device=<device>