• 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: Pointer to id
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pointer to id


  • Subject: Re: Pointer to id
  • From: j o a r <email@hidden>
  • Date: Mon, 2 Jan 2006 12:16:30 +0100




On 2 jan 2006, at 11.48, Sanri Parov wrote:

PortAudio has nothing to do with NSObject as it's a plain C bunch of functions that doesn't inherit from anything.

Where did you get the pointer to that stream? If it's owned by some object, pass that object. If it's a global variable, or something you can look up from a global function, don't pass anything at all.


On 2 jan 2006, at 12.08, Sanri Parov wrote:

[NSThread detachNewThreadSelector: @selector(playForSure:) toTarget: nil withObject:value];

The called selector is:

- (void)playForSure:(PortAudioStream *)stream;

but the selector is not called in any way.

Since you're sending the message to *nil*, that's not surprising at all...


Also, the method should now have this signature:

- (void) playForSure:(NSValue *) streamPtr;

j o a r



Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to email@hidden

References: 
 >Pointer to id (From: Sanri Parov <email@hidden>)
 >Re: Pointer to id (From: Pontus Ilbring <email@hidden>)
 >Re: Pointer to id (From: Sanri Parov <email@hidden>)

  • Prev by Date: Re: Pointer to id
  • Next by Date: Re: Trying to draw numbers into a dock icon badge
  • Previous by thread: Re: Pointer to id
  • Next by thread: Re: Pointer to id
  • Index(es):
    • Date
    • Thread