2 jan 2006, at 11.48, Sanri Parov wrote:
PortAudio has nothing to do with NS 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.
2 jan 2006, at 12.08, Sanri Parov wrote:
[NSThread detachNewThreadSelector: @selector(playForSure:)
toTarget: nil :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
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (Cocoa-dev (AT) lists (DOT) apple.com)
Help/Unsubscribe/Update your Subscription:
%40developershed.com
This email sent to bsdarchive (AT) developershed (DOT) com