Re: deprecated function
Re: deprecated function
- Subject: Re: deprecated function
- From: Roland Silver <email@hidden>
- Date: Thu, 25 Sep 2008 19:49:51 -0400
My program already has: err = AudioDeviceCreateIOProcID(PAR.device, callback, NULL, &outIOProcID); Does that mean that the following (which it already has) is OK? err = AudioDeviceDestroyIOProcID(device, &appIOProc); --RS
Date: Thu, 25 Sep 2008 11:07:21 -0700 From: Jeff Moore <email@hidden> Subject: Re: deprecated function To: Core Audio List <email@hidden> Message-ID: <email@hidden">email@hidden> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
You can't just pass an IOProc to AudioDeviceDestroyIOProcID. You can only pass AudioDeviceIOProcIDs created with AudioDeviceCreateIOProcID().
On Sep 25, 2008, at 8:58 AM, Roland Silver wrote:
I need to change
err = AudioDeviceRemoveIOProc(device, appIOProc);
Is this correct?
err = AudioDeviceDestroyIOProcID(device, &appIOProc);
where appIOProc is my actual callback.
--
Jeff Moore Core Audio Apple
|
_______________________________________________
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