<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: AVAudioPlayer Memory Leak</title>
	<atom:link href="http://blog.zincroe.com/2009/06/avaudioplayer-memory-leak/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.zincroe.com/2009/06/avaudioplayer-memory-leak/</link>
	<description>Ramblings from the team at zinc Roe</description>
	<lastBuildDate>Sun, 02 May 2010 00:10:39 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: shiva</title>
		<link>http://blog.zincroe.com/2009/06/avaudioplayer-memory-leak/comment-page-1/#comment-458</link>
		<dc:creator>shiva</dc:creator>
		<pubDate>Thu, 27 Aug 2009 06:25:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zincroe.com/?p=240#comment-458</guid>
		<description>Still i am getting leak.

I am using more than one sound file.
When even new image scrolls onto view, i am playing different sound

Could you please help me?

Thanks
shiva</description>
		<content:encoded><![CDATA[<p>Still i am getting leak.</p>
<p>I am using more than one sound file.<br />
When even new image scrolls onto view, i am playing different sound</p>
<p>Could you please help me?</p>
<p>Thanks<br />
shiva</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://blog.zincroe.com/2009/06/avaudioplayer-memory-leak/comment-page-1/#comment-456</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Mon, 24 Aug 2009 14:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zincroe.com/?p=240#comment-456</guid>
		<description>@shiva: You just need to retain the AVAudioPlayer object returned by audioPlayerWithContentsOfFile:

AVAudioPlayer *player = [someObject audioPlayerWithContentsOfFile:@&quot;someFile.caf&quot;];
[player retain];

And then release it when you&#039;re done with it :-)</description>
		<content:encoded><![CDATA[<p>@shiva: You just need to retain the AVAudioPlayer object returned by audioPlayerWithContentsOfFile:</p>
<p>AVAudioPlayer *player = [someObject audioPlayerWithContentsOfFile:@"someFile.caf"];<br />
[player retain];</p>
<p>And then release it when you&#8217;re done with it :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shiva</title>
		<link>http://blog.zincroe.com/2009/06/avaudioplayer-memory-leak/comment-page-1/#comment-455</link>
		<dc:creator>shiva</dc:creator>
		<pubDate>Mon, 24 Aug 2009 10:13:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zincroe.com/?p=240#comment-455</guid>
		<description>Hi Luke can u post full application. When i use ur function 
audioPlayerWithContentsOfFile:(NSString *)path  no leak. But i am unable to hear any sound. I commented [player release] and [player autorelease]. Then i am able to hear sound but same memory leak.

Could you please solve my problem.

Thanks
shiva</description>
		<content:encoded><![CDATA[<p>Hi Luke can u post full application. When i use ur function<br />
audioPlayerWithContentsOfFile:(NSString *)path  no leak. But i am unable to hear any sound. I commented [player release] and [player autorelease]. Then i am able to hear sound but same memory leak.</p>
<p>Could you please solve my problem.</p>
<p>Thanks<br />
shiva</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PJ Cabrera</title>
		<link>http://blog.zincroe.com/2009/06/avaudioplayer-memory-leak/comment-page-1/#comment-348</link>
		<dc:creator>PJ Cabrera</dc:creator>
		<pubDate>Wed, 03 Jun 2009 21:45:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.zincroe.com/?p=240#comment-348</guid>
		<description>Thanks for this, you saved me and countless others a bunch of time!</description>
		<content:encoded><![CDATA[<p>Thanks for this, you saved me and countless others a bunch of time!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
