Eric Wong <normalper...@yhbt.net> writes:

> Eric Wong <normalper...@yhbt.net> wrote:
>> All relevant audio file formats store data sequentially, so
>> give a hint to the kernel to perform more readahead.  In current
>> Linux, the readahead hint doubles readahead pages and can help
>> with playback on slow devices.
>
> Btw, I've been running this for a few years, too; but pretty
> much all on FLAC.
>
> I don't know if there's audio formats we support which aren't
> sequential.  Maybe there's some wacky audio format which
> requires random read all over the place...

I can't think of any format that isn't mostly sequential, certainly not
that's supported in SoX.  There might exist some format that separates
channel data such that reading sequentially from multiple starting
points is the best strategy.

What sort of improvement do you get from this anyway?  I'm not opposed
to the addition, just curious.

-- 
Måns Rullgård


_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

Reply via email to