<?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: Flash Player 10: 48KHz Sound Playback Bug</title>
	<atom:link href="http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/</link>
	<description>Cutting edge development with Adobe Flex, ActionScript and AIR</description>
	<lastBuildDate>Thu, 04 Feb 2010 13:51:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Fernando</title>
		<link>http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/comment-page-1/#comment-275</link>
		<dc:creator>Fernando</dc:creator>
		<pubDate>Wed, 30 Sep 2009 20:22:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=184#comment-275</guid>
		<description>Hi all
I copied this code in the fist frame, but my sound dosen&#039;t play.

import flash.media.Sound;
import flash.media.SoundChannel;
import flash.net.URLRequest;

var song=&quot;som48.mp3&quot;;
var snd:Sound = new Sound();
var channel:SoundChannel = new SoundChannel();


function playMusic(songSource:String) {
	var req:URLRequest=new URLRequest(song);
	snd = new Sound();
	snd.load(req);
	channel = new SoundChannel();
	channel=snd.play();
}

function stopMusic() {
	channel.stop();
}

How to play this?

Any suggestions?</description>
		<content:encoded><![CDATA[<p>Hi all<br />
I copied this code in the fist frame, but my sound dosen&#8217;t play.</p>
<p>import flash.media.Sound;<br />
import flash.media.SoundChannel;<br />
import flash.net.URLRequest;</p>
<p>var song=&#8221;som48.mp3&#8243;;<br />
var snd:Sound = new Sound();<br />
var channel:SoundChannel = new SoundChannel();</p>
<p>function playMusic(songSource:String) {<br />
	var req:URLRequest=new URLRequest(song);<br />
	snd = new Sound();<br />
	snd.load(req);<br />
	channel = new SoundChannel();<br />
	channel=snd.play();<br />
}</p>
<p>function stopMusic() {<br />
	channel.stop();<br />
}</p>
<p>How to play this?</p>
<p>Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrei Potorac</title>
		<link>http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/comment-page-1/#comment-55</link>
		<dc:creator>Andrei Potorac</dc:creator>
		<pubDate>Sat, 21 Mar 2009 13:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=184#comment-55</guid>
		<description>We had the same issue on our free flash mp3 player ( http://beta.flabell.com/products/details/29/name:Flash-Mp3-Player-beta/#comments ) and the solution was to encode the sound under 44 Khz, and it works without any issues. Thanks for the tip! :)</description>
		<content:encoded><![CDATA[<p>We had the same issue on our free flash mp3 player ( <a href="http://beta.flabell.com/products/details/29/name:Flash-Mp3-Player-beta/#comments" rel="nofollow">http://beta.flabell.com/products/details/29/name:Flash-Mp3-Player-beta/#comments</a> ) and the solution was to encode the sound under 44 Khz, and it works without any issues. Thanks for the tip! <img src='http://www.blackcj.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sound issues in Flash Player 10 - Flabell blog</title>
		<link>http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/comment-page-1/#comment-54</link>
		<dc:creator>Sound issues in Flash Player 10 - Flabell blog</dc:creator>
		<pubDate>Sat, 21 Mar 2009 13:55:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=184#comment-54</guid>
		<description>[...] http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/" rel="nofollow">http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miriam</title>
		<link>http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/comment-page-1/#comment-48</link>
		<dc:creator>Miriam</dc:creator>
		<pubDate>Fri, 06 Mar 2009 12:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=184#comment-48</guid>
		<description>I recently came across your blog and have been reading along. I thought I would leave my first comment. I don&#039;t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.

Miriam

http://www.craigslistguide.info</description>
		<content:encoded><![CDATA[<p>I recently came across your blog and have been reading along. I thought I would leave my first comment. I don&#8217;t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.</p>
<p>Miriam</p>
<p><a href="http://www.craigslistguide.info" rel="nofollow">http://www.craigslistguide.info</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Black</title>
		<link>http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/comment-page-1/#comment-38</link>
		<dc:creator>Chris Black</dc:creator>
		<pubDate>Wed, 25 Feb 2009 20:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=184#comment-38</guid>
		<description>Yup! Adobe released a new version of Flash Player 10 (10.0.22.87) on 02/24/08 that fixed this bug.  I tested a few 48KHz audio files with an AS2 sound player and they sounded great.</description>
		<content:encoded><![CDATA[<p>Yup! Adobe released a new version of Flash Player 10 (10.0.22.87) on 02/24/08 that fixed this bug.  I tested a few 48KHz audio files with an AS2 sound player and they sounded great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/comment-page-1/#comment-37</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 25 Feb 2009 19:36:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=184#comment-37</guid>
		<description>Did this get fixed?  According to the bug page on Adobe, the latest version of Flash fixes this:
http://bugs.adobe.com/jira/browse/FP-862

Can anyone confirm this?

Regards,
David</description>
		<content:encoded><![CDATA[<p>Did this get fixed?  According to the bug page on Adobe, the latest version of Flash fixes this:<br />
<a href="http://bugs.adobe.com/jira/browse/FP-862" rel="nofollow">http://bugs.adobe.com/jira/browse/FP-862</a></p>
<p>Can anyone confirm this?</p>
<p>Regards,<br />
David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sven</title>
		<link>http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/comment-page-1/#comment-28</link>
		<dc:creator>Sven</dc:creator>
		<pubDate>Fri, 13 Feb 2009 10:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=184#comment-28</guid>
		<description>Hey, 

Thanks for your quick reply.
I&#039;m already using a timer to check the track length. qnd to start the fade out before the end of the track.
I think I&#039;ll use also the SOUND_COMPLETE event to prevent the &quot;middle track stop&quot; bug.
Coz after all only a few percent of my mp3s are concerned with this issue... (maybe these are corrupted files or sth like this...)

I&#039;ll also check the track length against the ID3 property after the stream has completly loaded.

Again, many thanks for pointing these directions.

Cheers, 


--- Sven</description>
		<content:encoded><![CDATA[<p>Hey, </p>
<p>Thanks for your quick reply.<br />
I&#8217;m already using a timer to check the track length. qnd to start the fade out before the end of the track.<br />
I think I&#8217;ll use also the SOUND_COMPLETE event to prevent the &#8220;middle track stop&#8221; bug.<br />
Coz after all only a few percent of my mp3s are concerned with this issue&#8230; (maybe these are corrupted files or sth like this&#8230;)</p>
<p>I&#8217;ll also check the track length against the ID3 property after the stream has completly loaded.</p>
<p>Again, many thanks for pointing these directions.</p>
<p>Cheers, </p>
<p>&#8212; Sven</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Black</title>
		<link>http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/comment-page-1/#comment-27</link>
		<dc:creator>Chris Black</dc:creator>
		<pubDate>Wed, 11 Feb 2009 18:45:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=184#comment-27</guid>
		<description>You could use a timer to check the current SoundChannel.position against the total length of the song.  When the position nears the length of the song you could fire off the cross fade effect. I&#039;ve noticed that the Sound.length property isn&#039;t always accurate until the song has completely loaded (which may be part of the problem with the SOUND_COMPLETE event firing to early).  You may want to look into using the id3 property for length or maybe just wait until the song has completely loaded before doing the comparison.</description>
		<content:encoded><![CDATA[<p>You could use a timer to check the current SoundChannel.position against the total length of the song.  When the position nears the length of the song you could fire off the cross fade effect. I&#8217;ve noticed that the Sound.length property isn&#8217;t always accurate until the song has completely loaded (which may be part of the problem with the SOUND_COMPLETE event firing to early).  You may want to look into using the id3 property for length or maybe just wait until the song has completely loaded before doing the comparison.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sven</title>
		<link>http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/comment-page-1/#comment-26</link>
		<dc:creator>Sven</dc:creator>
		<pubDate>Wed, 11 Feb 2009 16:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=184#comment-26</guid>
		<description>Hi, 

Thanks a lot for the tip.
I have ran into another problem with the AS3 Sound API, 
I&#039;m trying to make a MP3 streaming server (check the url : http://yaass-project.sourceforge.net/).
On some case, the playing will just stop despite all the stream being loaded on the client side.
And when i go forward on the track (the player have this feature) it will play again.


(Using the third method : 
    var req:URLRequest = new URLRequest(song);
    snd = new Sound();
    snd.load(req);
    channel = new SoundChannel();
    channel = snd.play();
)


It seems that the SOUND_COMPLETE event is firing too early.
And the fact is that i dont want to rely on this event to end the playback (or to skip to the next track) since i also implemented a crossfading feeature (still buggy right now :( ) 

Do you have any idea or clue ? :)
I tried to find some resoucrces or tutos on this and find only this blog

Thanks in advance 

--- Sven</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>Thanks a lot for the tip.<br />
I have ran into another problem with the AS3 Sound API,<br />
I&#8217;m trying to make a MP3 streaming server (check the url : <a href="http://yaass-project.sourceforge.net/)" rel="nofollow">http://yaass-project.sourceforge.net/)</a>.<br />
On some case, the playing will just stop despite all the stream being loaded on the client side.<br />
And when i go forward on the track (the player have this feature) it will play again.</p>
<p>(Using the third method :<br />
    var req:URLRequest = new URLRequest(song);<br />
    snd = new Sound();<br />
    snd.load(req);<br />
    channel = new SoundChannel();<br />
    channel = snd.play();<br />
)</p>
<p>It seems that the SOUND_COMPLETE event is firing too early.<br />
And the fact is that i dont want to rely on this event to end the playback (or to skip to the next track) since i also implemented a crossfading feeature (still buggy right now <img src='http://www.blackcj.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  ) </p>
<p>Do you have any idea or clue ? <img src='http://www.blackcj.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I tried to find some resoucrces or tutos on this and find only this blog</p>
<p>Thanks in advance </p>
<p>&#8212; Sven</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: localToGlobal &#187; Blog Archive &#187; news review -&#62; 5th week of 2009</title>
		<link>http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/comment-page-1/#comment-21</link>
		<dc:creator>localToGlobal &#187; Blog Archive &#187; news review -&#62; 5th week of 2009</dc:creator>
		<pubDate>Fri, 30 Jan 2009 21:13:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.blackcj.com/blog/?p=184#comment-21</guid>
		<description>[...] &gt; Flash Player 10: 48KHz Sound Playback Bug (and Fix) &#124; blackcj.com [...]</description>
		<content:encoded><![CDATA[<p>[...] &gt; Flash Player 10: 48KHz Sound Playback Bug (and Fix) | blackcj.com [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.428 seconds -->
