Re: Deprecated function forward compatability
Re: Deprecated function forward compatability
- Subject: Re: Deprecated function forward compatability
- From: Jeff Moore <email@hidden>
- Date: Tue, 8 Jan 2008 12:56:35 -0800
The IOProc itself hasn't been deprecated in Leopard, just the function
you use to register it with the HAL. Prior to Leopard, you'd just use
AudioDeviceAddIOProc and AudioDeviceRemoveIOProc. Starting with
Leopard, you'll replace that with AudioDeviceCreateIOProcID and
AudioDeviceDestroyIOProcID.
The reason for this change was to remove the need to use jump
trampolines to register the same IOProc multiple times with an
AudioDevice. You can do this now with AudioDeviceCreateIOProcID
provided that you use a unique user data pointer with each call.
On Jan 6, 2008, at 2:05 PM, Simon wrote:
I've seen a few posts recently about the appIOProc() function being
deprecated in Leopard. I'm working on a pre-Leopard application that
uses James McCartney's Sinewave demo for generating sound (seems
like everyone is using it!). I'm just a bit worried whether my
application will be forward compatable with Leopard. Does anyone
know anything about this?
--
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