• 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: IOMemoryDescriptor: Jedai trick for the tortuous
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IOMemoryDescriptor: Jedai trick for the tortuous


  • Subject: Re: IOMemoryDescriptor: Jedai trick for the tortuous
  • From: "Timothy J. Wood" <email@hidden>
  • Date: Sun, 6 Oct 2002 18:18:17 -0700

On Sunday, October 6, 2002, at 03:08 PM, Michel wrote:
The game is to allocate some memory, get a list of physical ranges it
occupies, and remap them *twice* end to end.

FYI -- Kurt Revis has an example of this technique in his 'PlayBufferedSoundFile' example on www.snoize.com.

This is an attractive approach, but IMHO it isn't worth it. It really isn't that hard to implement a circular buffer (although I suppose it would be much more interesting in any sort of _complicated_ algorithm (some actual sound filter) -- straight memcpy'ing just isn't that complicated :)

-tim
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >IOMemoryDescriptor: Jedai trick for the tortuous (From: Michel <email@hidden>)

  • Prev by Date: IOMemoryDescriptor: Jedai trick for the tortuous
  • Next by Date: Re: IOMemoryDescriptor: Jedai trick for the tortuous
  • Previous by thread: IOMemoryDescriptor: Jedai trick for the tortuous
  • Next by thread: Re: IOMemoryDescriptor: Jedai trick for the tortuous
  • Index(es):
    • Date
    • Thread