• 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: leak in AVAudioPlayer ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: leak in AVAudioPlayer ?


  • Subject: Re: leak in AVAudioPlayer ?
  • From: Julian Richardson <email@hidden>
  • Date: Fri, 07 Dec 2012 07:25:43 -0800

Ariel

I have seen exactly this problem with the audio data property of AVAudioPlayer - but it only seems to happen in simulator. On the device the data does does get released correctly when the AVAudioPlayer instance is deallocated. I am using ARC. I spent half a day making sure the data was not being retained by some other part of my code.

I believe there probably is a bug in the simulator implementation of AVAudioPlayer.

I have not checked but guess the same phenomenon is causing the NSURL to be retained.

Julian

--
Julian Richardson, PhD
http://www.ternary.ws

On Dec 7, 2012, at 6:23 AM, Ariel Feinerman <email@hidden> wrote:

> Hi,
>
> I have seen in leaks profiler the AVAudioPlayer make three retain and only
> two release of NSURL
>
>
> --
> best regards
> Ariel
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >leak in AVAudioPlayer ? (From: Ariel Feinerman <email@hidden>)

  • Prev by Date: Re: How to implement readonly property
  • Next by Date: Re: How to implement readonly property
  • Previous by thread: Re: leak in AVAudioPlayer ?
  • Next by thread: Create a socket.io connection to node.js server
  • Index(es):
    • Date
    • Thread