[MPlayer-DOCS] CVS: main/DOCS/man/en mplayer.1,1.1226,1.1227
Clemens Ladisch CVS
syncmail at mplayerhq.hu
Mon Feb 13 12:15:27 CET 2006
CVS change done by Clemens Ladisch CVS
Update of /cvsroot/mplayer/main/DOCS/man/en
In directory mail:/var2/tmp/cvs-serv17662/DOCS/man/en
Modified Files:
mplayer.1
Log Message:
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.
Index: mplayer.1
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/man/en/mplayer.1,v
retrieving revision 1.1226
retrieving revision 1.1227
diff -u -r1.1226 -r1.1227
--- mplayer.1 12 Feb 2006 16:21:07 -0000 1.1226
+++ mplayer.1 13 Feb 2006 11:15:24 -0000 1.1227
@@ -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>
More information about the MPlayer-DOCS
mailing list