<?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: Playing sound FX demo</title>
	<atom:link href="https://gamecodeschool.com/android/playing-sound-fx-demo/feed/" rel="self" type="application/rss+xml" />
	<link>https://gamecodeschool.com/android/playing-sound-fx-demo/</link>
	<description>Game Coding for Beginners</description>
	<lastBuildDate>Mon, 20 Apr 2026 12:04:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>By: John Horton</title>
		<link>https://gamecodeschool.com/android/playing-sound-fx-demo/#comment-5260</link>
		<dc:creator><![CDATA[John Horton]]></dc:creator>
		<pubDate>Tue, 14 Mar 2017 14:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=11881#comment-5260</guid>
		<description><![CDATA[Thanks for solving this Josh.]]></description>
		<content:encoded><![CDATA[<p>Thanks for solving this Josh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yugansh</title>
		<link>https://gamecodeschool.com/android/playing-sound-fx-demo/#comment-5235</link>
		<dc:creator><![CDATA[Yugansh]]></dc:creator>
		<pubDate>Mon, 13 Mar 2017 15:53:46 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=11881#comment-5235</guid>
		<description><![CDATA[Thanks Josh , 
android.os.SystemClock.sleep(1000);
This line of code solved the problem .]]></description>
		<content:encoded><![CDATA[<p>Thanks Josh ,<br />
android.os.SystemClock.sleep(1000);<br />
This line of code solved the problem .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yugansh</title>
		<link>https://gamecodeschool.com/android/playing-sound-fx-demo/#comment-5234</link>
		<dc:creator><![CDATA[Yugansh]]></dc:creator>
		<pubDate>Mon, 13 Mar 2017 15:51:15 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=11881#comment-5234</guid>
		<description><![CDATA[Hello John,
i was following your tutorial and i did everything step by step but the sound never play
what am i doing wrong??]]></description>
		<content:encoded><![CDATA[<p>Hello John,<br />
i was following your tutorial and i did everything step by step but the sound never play<br />
what am i doing wrong??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugene</title>
		<link>https://gamecodeschool.com/android/playing-sound-fx-demo/#comment-2167</link>
		<dc:creator><![CDATA[Eugene]]></dc:creator>
		<pubDate>Wed, 29 Jun 2016 08:12:44 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=11881#comment-2167</guid>
		<description><![CDATA[It didn&#039;t work as is. Many experiments showed that sound wasn&#039;t loaded that fast.
I made sound play start on Button tap --- now it plays (after a second past from activity start).

So solution is to initiate soundPool and load sound in onCreate, but play is after a few seconds.]]></description>
		<content:encoded><![CDATA[<p>It didn&#8217;t work as is. Many experiments showed that sound wasn&#8217;t loaded that fast.<br />
I made sound play start on Button tap &#8212; now it plays (after a second past from activity start).</p>
<p>So solution is to initiate soundPool and load sound in onCreate, but play is after a few seconds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Horton</title>
		<link>https://gamecodeschool.com/android/playing-sound-fx-demo/#comment-981</link>
		<dc:creator><![CDATA[John Horton]]></dc:creator>
		<pubDate>Sun, 15 Nov 2015 07:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=11881#comment-981</guid>
		<description><![CDATA[Hi Josh,
Glad you got it working. Even better solution for long sound files (perhaps music) is to use a class that streams the sound rather than preloading completely. Have a look at this http://stackoverflow.com/questions/16336960/android-playing-music-in-background.]]></description>
		<content:encoded><![CDATA[<p>Hi Josh,<br />
Glad you got it working. Even better solution for long sound files (perhaps music) is to use a class that streams the sound rather than preloading completely. Have a look at this <a href="http://stackoverflow.com/questions/16336960/android-playing-music-in-background" rel="nofollow">http://stackoverflow.com/questions/16336960/android-playing-music-in-background</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
