Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deprecated function forward compatability



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: http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden
References: 
 >Deprecated function forward compatability (From: "Simon" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.