comparison 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
comparison
equal deleted inserted replaced
17615:363d23eb55d3 17616:92431bc3d014
2043 .I EXAMPLE: 2043 .I EXAMPLE:
2044 .PD 0 2044 .PD 0
2045 .RSs 2045 .RSs
2046 .IPs "\-ao alsa,oss," 2046 .IPs "\-ao alsa,oss,"
2047 Try the ALSA driver, then the OSS driver, then others. 2047 Try the ALSA driver, then the OSS driver, then others.
2048 .IPs "\-ao alsa:mmap:noblock:device=hw=0.3" 2048 .IPs "\-ao alsa:noblock:device=hw=0.3"
2049 Sets noblock-mode, mmap-mode and the device-name as first card, fourth device. 2049 Sets noblock-mode and the device-name as first card, fourth device.
2050 .RE 2050 .RE
2051 .PD 1 2051 .PD 1
2052 .sp 1 2052 .sp 1
2053 Available audio output drivers are: 2053 Available audio output drivers are:
2054 . 2054 .
2055 .TP 2055 .TP
2056 .B alsa\ \ \ 2056 .B alsa\ \ \
2057 ALSA 0.9/1.x audio output driver 2057 ALSA 0.9/1.x audio output driver
2058 .PD 0 2058 .PD 0
2059 .RSs 2059 .RSs
2060 .IPs mmap\ \ \
2061 Sets experimental mmap-mode (does not work for more than 2 channels).
2062 .IPs noblock 2060 .IPs noblock
2063 Sets noblock-mode. 2061 Sets noblock-mode.
2064 .IPs device=<device> 2062 .IPs device=<device>
2065 Sets the device name. 2063 Sets the device name.
2066 Replace any ',' with '.' and any ':' with '=' in the ALSA device name. 2064 Replace any ',' with '.' and any ':' with '=' in the ALSA device name.