AU Processing in Threads
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.