Re: avoiding VM page swaps for big sample buffers
Re: avoiding VM page swaps for big sample buffers
- Subject: Re: avoiding VM page swaps for big sample buffers
- From: David Duncan <email@hidden>
- Date: Sat, 25 Sep 2004 12:29:15 -0400
On Sep 25, 2004, at 12:15 PM, Frank (Steim) wrote:
thanks for the quick reply, but I need this buffer because in my
software the user can jump from one location in the buffer to another
instantly by either Midi control or LFO's. And by instantly I mean
within 1 millisecond. I don't think this can be achieved by streaming
the data from disk.
Perhaps you can't get it in 1ms, but you probably don't need 1ms either
unless you are processing those changes inside the IOProc or have set
the IOProc to call you back for only 44 samples (and if that is the
case, that might also be a cause of your overloads). Most of what I've
seen (which isn't very much) gives you a callback time of 512 samples,
or 93ms which should be plenty of time to get the data you need from
disk (I know it's plenty of time to get data from CD).
So perhaps to really help we need more information on what your doing
and why you feel the need to keep such a large (4000 seconds ==>
670MB!) buffer.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden