• 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: correcting calls to deprecated functions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: correcting calls to deprecated functions


  • Subject: Re: correcting calls to deprecated functions
  • From: Roland Silver <email@hidden>
  • Date: Thu, 25 Sep 2008 12:10:16 -0400

Reply:
Tried your auggestion, AU, couldn't get it to work.
HAL works.
So I seek a solution to my problem using HAL, not AU.
--RS

Message: 5
Date: Thu, 21 Feb 2008 12:07:33 -0700
From: Roland Silver <email@hidden>
Subject: correcting calls to deprecated functions
To: katsura <email@hidden>
Cc: Core Audio List <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset="us-ascii"

You (katsura) suggested changing my call to the deprecated function  
AudioDeviceAddIOProc as follows:
change
status = AudioDeviceAddIOProc( device, InputIOProc, NULL );
to
status =
AudioDeviceCreateIOProcID( device, InputIOProc, NULL, [arg4] );
Question: What do I need to put in for [arg4]?

I also need to change
err = AudioDeviceRemoveIOProc(device, appIOProc);
Is this correct?
err = AudioDeviceDestroyIOProcID(device, &appIOProc);

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: correcting calls to deprecated functions
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: Coreaudio-api Digest, Vol 5, Issue 60
  • Next by Date: Audiounit with Cocoa View steals 'space bar' events from Logic
  • Previous by thread: Re: Coreaudio-api Digest, Vol 5, Issue 60
  • Next by thread: Re: correcting calls to deprecated functions
  • Index(es):
    • Date
    • Thread