• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Deprecated function forward compatability
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Deprecated function forward compatability (From: "Simon" <email@hidden>)

  • Prev by Date: Re: New to converter.
  • Next by Date: Re: deprecated functions
  • Previous by thread: Deprecated function forward compatability
  • Next by thread: drag'n'drop in Logic
  • Index(es):
    • Date
    • Thread