Re: Pointer to id
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