• 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: reg:audioplayer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reg:audioplayer


  • Subject: Re: reg:audioplayer
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 14 Jun 2010 13:31:34 -0700

On Mon, Jun 14, 2010 at 1:05 PM, Paul Sanders
<email@hidden> wrote:
>> Also like in C++ we have a main thread which is invoked by main
>> function,In objective C who invokes the main thread.
>
> Life still starts in main ().  It's just the same.

Well, sort of. In Cocoa, you typically let the main thread's run loop
pull events off the queue and call back to you. Many other frameworks
invert the authority here, where you call into the framework from a
main loop. While you can implement this pattern using the run loop
methods, it's better not to fight the framework.

And of course this only matters when you're writing the main()
function. If you're a plugin or framework, it's not your call.

--Kyle Sluder
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >reg:audioplayer (From: Sanoj Nambi <email@hidden>)
 >Re: reg:audioplayer (From: William Stewart <email@hidden>)
 >Re: reg:audioplayer (From: "Paul Sanders" <email@hidden>)

  • Prev by Date: Re: Identifying the beginning or end of a data file in an AU
  • Next by Date: Re: AudioUnitScheduleParameters: ramped kMultiChannelMixerParam_Volume
  • Previous by thread: Re: reg:audioplayer
  • Next by thread: AudioUnitScheduleParameters: ramped kMultiChannelMixerParam_Volume
  • Index(es):
    • Date
    • Thread