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 <arielfap...@gmail.com> 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 (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/julian.richardson%40gmail.com
> 
> This email sent to julian.richard...@gmail.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to