Eric Wong <[EMAIL PROTECTED]> wrote: > 1) read/write I/O with readahead using ringbuffer + pthreads. > This will be the most portable one, and will probably be > better all around if avoiding hard disk spinups is needed > on large FLAC files. pthreads will be needed anyways for > asynchronous open... > > 2) read/write file I/O with readahead done entirely with > posix_fadvise(). This is aimed at modern Linux 2.6 desktop > machines. Not many other OSes support posix_fadvise, yet.
Errm, I meant read/seek in both cases. Input streams are not writable and mpd will never write to audio files. -- Eric Wong ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team