Re: Cocoa and PortAudio
Re: Cocoa and PortAudio
- Subject: Re: Cocoa and PortAudio
- From: David Remahl <email@hidden>
- Date: Thu, 17 Oct 2002 15:01:17 +0200
>
Ok - I see the problem. You have your callback function outside of the
>
'implementation' section of the .mm file. This means that your function does
>
not have access to the ivars of the Obj-C class. Hence the comnpiler does
>
not know what 'pitchSlider' is. (That is what the error message is saying -
>
it is not referring to 'pitchSlider' as a function. The "first use this
>
function" is just telling you that this unknown symbol first occurred in
>
this function.)
>
I think you want to put the callback function inside the 'implementation'
>
section.
I am pretty sure that won't make a difference. Objective C (or Objective
C++) do not have member functions, only member methods.
/ Rgds, David
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.