Re: Working with Audio
Re: Working with Audio
- Subject: Re: Working with Audio
- From: Raphael Sebbe <email@hidden>
- Date: Wed, 27 Mar 2002 13:11:50 +0100
On Tuesday, March 26, 2002, at 07:35 PM, Todd Heberlein wrote:
The functions seem to run in their own thread outside Cocoa's main event
loop. I don't know the proper synchronization mechanisms to use (e.g.,
an
NSLock or pthread_mutex or what) between cocoa main loop and these audio
callback functions.
That problem is very similar to the speech synthesis one (secondary
threads with no runloop...)
I wrote an article for Stepwise that gives you at least one possible
solution, you can find it there:
http://www.stepwise.com/Articles/Technical/2001-03-20.01.html
Hope this helps,
Raphael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.