• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: avoiding VM page swaps for big sample buffers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: avoiding VM page swaps for big sample buffers


  • Subject: Re: avoiding VM page swaps for big sample buffers
  • From: Jim Wintermyre <email@hidden>
  • Date: Sun, 26 Sep 2004 08:05:42 -0700

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).

512 samples at 44.1k is about 11 msec... 93 msec corresponds to 4k samples at 44.1k.


Jim
_______________________________________________
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


  • Prev by Date: Re: avoiding VM page swaps for big sample buffers
  • Next by Date: AudioConverterNew unknown error
  • Previous by thread: Re: avoiding VM page swaps for big sample buffers
  • Next by thread: Re: avoiding VM page swaps for big sample buffers
  • Index(es):
    • Date
    • Thread