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

Re: deprecated function


  • Subject: Re: deprecated function
  • From: Roland Silver <email@hidden>
  • Date: Thu, 25 Sep 2008 19:49:51 -0400

My program already has:
err = AudioDeviceCreateIOProcID(PAR.device, callback, NULL, &outIOProcID);
Does that mean that the following (which it already has) is OK?
err = AudioDeviceDestroyIOProcID(device, &appIOProc);
--RS

Date: Thu, 25 Sep 2008 11:07:21 -0700
From: Jeff Moore <email@hidden>
Subject: Re: deprecated function
To: Core Audio List <email@hidden>
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

You can't just pass an IOProc to AudioDeviceDestroyIOProcID. You can  
only pass AudioDeviceIOProcIDs created with AudioDeviceCreateIOProcID().

On Sep 25, 2008, at 8:58 AM, Roland Silver wrote:

I need to change

err = AudioDeviceRemoveIOProc(device, appIOProc);

Is this correct?

err = AudioDeviceDestroyIOProcID(device, &appIOProc);

where appIOProc is my actual callback.




-- 

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

  • Prev by Date: Playing Audio Backwards
  • Next by Date: re: Audiounit with Cocoa View steals 'space bar' events from Logic
  • Previous by thread: Re: deprecated function
  • Next by thread: Re: Coreaudio-api Digest, Vol 5, Issue 60
  • Index(es):
    • Date
    • Thread