summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorcladisch <cladisch@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-02-13 11:15:25 +0000
committercladisch <cladisch@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-02-13 11:15:25 +0000
commitcc8359e4e8e5f5f66c9c5b13d8a0cf878b0bc7a4 (patch)
treeff11edddc32b0c4f37f7c738c7516c14004eb686 /osdep
parent3b7240c575635f1012d515cc34cb71afd8acf928 (diff)
downloadmpv-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 'osdep')
0 files changed, 0 insertions, 0 deletions