Re: [linux-audio-dev] Gigasampler Clone

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Gigasampler Clone
From: Paul Barton-Davis (pbd_AT_Op.Net)
Date: Sat Jul 01 2000 - 04:49:21 EEST


>mmap() the entire sample in memory
>mlock() the first part
>and then as the sound get triggered just memcpy() !! the
>data from the mmapped buffer to the soundcard buffer
>and mlock() ahead a couple of KBytes in order to let the
>disk shuffle in the pages into mem.
>
>If we get sued by implementing the above mmap() algorithm,
>then they MUST sue unix/linux developer for having invented mmap().
>:-)

no, their lawyer will ask the court "why is Mr. Senoner calling the
mmap() routine at this point?" and the cat will be out of the bag.

and besides, both you and i know, as should everyone else on this
list, that mmap *cannot* be used for this reliably under Linux.

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sat Jul 01 2000 - 05:16:52 EEST