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 functions



AudioHardware.h tells me that AudioDeviceAddIOProc has been deprecated in favor of AudioDeviceCreateIOProcID. I have a problem with the fourth argument of AudioDeviceCreateIOProcID.

The earlier version of my code had

AudioDeviceAddIOProc(defs.device, appIOProc, &defs);

where defs.device is the AudioDevice to register the IOProc with, appIOProc is the AudioDeviceIOProc to register, and &defs is a pointer to client data that is passed back to the IOProc when it is called.

This suggests that the call to AudioDeviceAddIOProc should  be replaced by:

AudioDeviceCreateIOProcID(defs.device, appIOProc, &defs, ??);


The fourth argument should be "the newly created AudioDeviceIOProcID", so what should I put there?


If this question is answered in the coreAudio FAQs, please let me know the URL for getting to that FAQ.


Roland Silver



 _______________________________________________
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



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.