If I use madplay compiled with mmap-support sometimes
the sound skips when the drive shows some heavy read
activity. This doesn't happen when I give mpg123 a
buffer e.g. 4MB is sufficient in general. I see with
mmap() the OS
should do the whole buffering for you but this seems to
with many concurrent processes accessing the (cd-rom)
drive Especially if the drive contains some bad areas
(dirt?) and a read access takes longer than average the
buffer strategy will fail. Would it be possible to peek
some bytes ahead (one-peek-per-page) so that the OS is
forced to read the sectors at once? This way the sector
will be pre-buffered. A commandline option for the size
of this ahead-read would be nice.
MichaelCore (at) t-online (dot) de
Log in to post a comment.