• 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: Ben Cox <email@hidden>
  • Date: Sat, 25 Sep 2004 19:50:10 -0400

Frank,

On Sep 25, 2004, at 6:52 PM, Frank (Steim) wrote:
Well, first of all a vector of 512 samples gives you a callback time of a little more than 11 ms (the sample rate is 44kHz) and second: yes in this vecotr I can make sample jumps (and calculated crossfades and zero cross searches) which I want to be able to do within my whole sample buffer. Of course I could put a restriction in max buffer size and usually I don't need such a big buffer (mostly just a few minutes long), but for this partical project I need a really big buffer. (you can find a demo of the program at: http://www.steim.org/steim/lisa.html)

Would it work to have a smallish in-memory buffer for each zone for instantaneous sample playback start, and then stream the samples for each zone from disk after that? Or do you truly need to be able to start playback instantaneously from *any* point in the large buffer? (I.e.: any point in the large buffer, or just points near the zone boundaries?)


-- Ben

__
Ben Cox <email@hidden>
http://www.djehuti.com

_______________________________________________
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


References: 
 >avoiding VM page swaps for big sample buffers (From: Frank (Steim) <email@hidden>)
 >Re: avoiding VM page swaps for big sample buffers (From: David Duncan <email@hidden>)
 >Re: avoiding VM page swaps for big sample buffers (From: Frank (Steim) <email@hidden>)
 >Re: avoiding VM page swaps for big sample buffers (From: David Duncan <email@hidden>)
 >Re: avoiding VM page swaps for big sample buffers (From: Frank (Steim) <email@hidden>)

  • Prev by Date: Re: avoiding VM page swaps for big sample buffers
  • Next by Date: Re: avoiding VM page swaps for big sample buffers
  • 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