Re: How to add messages to Cocoa's Run Loop
Re: How to add messages to Cocoa's Run Loop
- Subject: Re: How to add messages to Cocoa's Run Loop
- From: Ofri Wolfus <email@hidden>
- Date: Thu, 5 Apr 2007 01:03:33 +0300
Sounds like you're looking for adding a runloop source. Currently
there's no way to do this purely within cocoa so you'd have to read
the carbon docs for CFRunLoopSource. After you get the idea, feel
free to use a cocoa wrapper i wrote around it (BSD licensed) - http://
svn.dpompa.com/uitesting/trunk/Classes/Private/DPRunLoopSource.h &
http://svn.dpompa.com/uitesting/trunk/Classes/Private/DPRunLoopSource.m
- Ofri
- - - - - - - - - - - - - - - - - - -
http://www.dpompa.com
- - - - - - - - - - - - - - - - - - -
On 04/04/2007, at 13:48, Pulkit Mathur wrote:
Hi,
I am just a beginner! I want to know something about Cocoa's Run
Loops. I
want create a method "FillAudioBuffer". This method will fill two
audio
buffers and submit to input proc when it needs audio buffers to
play. Now I
want this method to fill the buffers as soon as the methods submit its
buffers to the input proc. So, my plan is to add this method in the
Run
Loop's queue soon as the buffers are empty. Now how do I do it? I
mean how
to I add this method in the Run Loop message queue?
Please help!
MacDev
--
Pulkit Mathur
Project Manager Associate
Blaze Audio
Industrial Audio Software
http://www.blazeaudio.com
http://www.industrialaudiosoftware.com
91-141-2295761
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden