• 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 functions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deprecated functions


  • Subject: Re: deprecated functions
  • From: Roland Silver <email@hidden>
  • Date: Mon, 7 Jan 2008 14:35:13 -0700

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
email@hidden



 _______________________________________________
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

  • Follow-Ups:
    • Re: deprecated functions
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: Really puzzling ExtAudioFileRead crash...
  • Next by Date: Broadcast Wave format
  • Previous by thread: Re: deprecated functions
  • Next by thread: Re: deprecated functions
  • Index(es):
    • Date
    • Thread