• 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: Working with Audio
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Working with Audio (From: Todd Heberlein <email@hidden>)

  • Prev by Date: use AppKit;
  • Next by Date: Re: protocol not seeing superclass implementation : bug or feature?
  • Previous by thread: Re: Working with Audio
  • Next by thread: Re: Working with Audio
  • Index(es):
    • Date
    • Thread