• 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: How to proper destroy an AURemoteIO ????
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to proper destroy an AURemoteIO ????


  • Subject: Re: How to proper destroy an AURemoteIO ????
  • From: Inca Rose <email@hidden>
  • Date: Wed, 4 Mar 2009 21:43:25 +0200

Hi;
It is tested on the device.

I found another problem.
I re-factored my code to use only one instance of AURemoteIO.
What I found out is that the thread are still there !!!!
It seams like every time I start/stop the object a new thread is leaked.

Am I doing something wrong ?

Thanks
Inca R

On Mar 3, 2009, at 6:26 PM, Doug Wyatt wrote:

If you're in the simulator, I think this is something we know about. If you're on the device, please write a bug.

thanks
Doug

On Mar 3, 2009, at 0:44 , Inca Rose wrote:

Hi;
After I finish using an AURemoteIO I do the following steps:
-- AudioUnitOutputStop
-- AudioUnitUninitialize
-- AudioComponentInstanceDispose

But checking the threads in my system I see that for every AURemoteIO object I created there is still a thread with the following
stack thread:


0 mach_msg_trap
1 mach_msg
2 AURemoteIO::IOThread::Entry
3 CAPThread::Entry
4 _pthread_body

What is the proper way to dispose an AURemoteIO ??? Am I doing something wrong ?


_______________________________________________ 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: How to proper destroy an AURemoteIO ????
      • From: Doug Wyatt <email@hidden>
References: 
 >How to proper destroy an AURemoteIO ???? (From: Inca Rose <email@hidden>)
 >Re: How to proper destroy an AURemoteIO ???? (From: Doug Wyatt <email@hidden>)

  • Prev by Date: Re: Question about ExtAudioFileOpenURL
  • Next by Date: Re: How to proper destroy an AURemoteIO ????
  • Previous by thread: Re: How to proper destroy an AURemoteIO ????
  • Next by thread: Re: How to proper destroy an AURemoteIO ????
  • Index(es):
    • Date
    • Thread