diff options
author | cladisch <cladisch@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-02-13 11:15:25 +0000 |
---|---|---|
committer | cladisch <cladisch@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-02-13 11:15:25 +0000 |
commit | cc8359e4e8e5f5f66c9c5b13d8a0cf878b0bc7a4 (patch) | |
tree | ff11edddc32b0c4f37f7c738c7516c14004eb686 /DOCS | |
parent | 3b7240c575635f1012d515cc34cb71afd8acf928 (diff) | |
download | mpv-cc8359e4e8e5f5f66c9c5b13d8a0cf878b0bc7a4.tar.bz2 mpv-cc8359e4e8e5f5f66c9c5b13d8a0cf878b0bc7a4.tar.xz |
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17617 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/en/mplayer.1 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index 69e5019a79..4624189a77 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -2045,8 +2045,8 @@ See \-ao help for a list of compiled-in audio output drivers. .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 @@ Available audio output drivers are: 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> |