Mercurial > mplayer.hg
diff ChangeLog @ 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 | 719bd2042c24 |
children | e0ef5688cce7 |
line wrap: on
line diff
--- a/ChangeLog Mon Feb 13 07:29:11 2006 +0000 +++ b/ChangeLog Mon Feb 13 11:15:25 2006 +0000 @@ -39,6 +39,7 @@ * improved XvMC library detection (disabled by default) * DPI (Print-Resolution) and Pixel-Aspect support in vo_jpeg * ALSA audio output: several small fixes and improvements + * removed experimental mmap suboption from the ALSA driver Decoders: * Indeo2 (RT21) support via lavc