• 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
AU Processing in Threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AU Processing in Threads


  • Subject: AU Processing in Threads
  • From: Chris Wendt <email@hidden>
  • Date: Mon, 26 Apr 2004 21:40:31 -0400

Hi everyone,

I'm looking for a little help. I'm trying to do audio processing in a separate thread triggered by each Render call in the AU. For testing, I have it set up where I can #define switch to easily test the timing of typical processing in the AU Render call or a threaded version using MP threads/semaphores to synchronize the processing.

Even setting the thread priority to the max (10,000), the threaded version has many hick-ups and slow downs especially with things like moving windows etc. My timing tests of the threaded version show that on average the threaded version seems to take up to 3x the time to complete the same processing per frame. I'm a bit new to MacOSX threading, so are MP Threads not the best route? Are AudioUnit's not friendly with threading? Doesn't make sense to me but I'm a bit puzzled.

Regards,

-Chris
_______________________________________________
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.


  • Prev by Date: Re: AC3 decoding
  • Next by Date: How atomic is MIDPacket?
  • Previous by thread: Pure Java Midi I/O on Mac OS/X
  • Next by thread: Re: AU Processing in Threads
  • Index(es):
    • Date
    • Thread