History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: FP-862
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: None None
Assignee: Charles Liss
Reporter: Charles Liss
Votes: 5
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
Flash Player

songs with higher than 44KHz sampling rate playback incorrectly.

Created: 10/29/08 12:03 PM   Updated: 02/24/09 05:18 PM
Component/s: ActionScript Core Language
Security Level: Public (All JIRA Users )

Issue Links:
Cloners
This issue is cloned by:
FP-769 Ming Created File does not play in Fl... None Closed
This issue was cloned from:
FP-853 Gross distortion on the first second ... B Resolved
FP-889 Heavy distortion on playback of MP3 f... Closed
Duplicate
 
This issue is duplicated by:
FP-872 mp3 with 48 kHz sampling frequency Resolved
Relationship
This issue relates to:
FP-941 Flash player 10 Terrible sound playback B Resolved
 

Severity: Incorrectly Functioning
Reproducibility: Every Time
Discoverability: High
Found in Version: Flash Player 10 - 10_0_12_36
Affected OS(s): Windows - XP
Injection: Yes
Steps to Reproduce:
Steps to reproduce:
1. Playback a audiofile with a sample rate greater than 44kHz in "soundContainer.loadSound(<urltoplay>, true);"
2.
3.
 
 Actual Results: The playback is very fast and or garbled.
 
 
 Expected Results: Clean playback..
 
 
 Workaround (if any):

loadSound using a streaming of false, then call soundContainer.start() from the onLoad event
 
 
 
Language Found: English
Bugbase Id: 238634
Triaged: Yes
Resolved by: Charles Liss
Fixed Version: Flash Player 10 - Next Build
Participants: Charles Liss, Chris Black, Joan Touzet and Trevor McCauley
Browser: Firefox 3.x


 All   Comments      Sort Order:
Trevor McCauley - [10/29/08 03:09 PM ]
added workaround

Chris Black - [01/30/09 12:14 AM ]
I have found that the best fix for this bug is to re-write the sound functionality in AS 3.0:

import flash.media.Sound;
import flash.media.SoundChannel;
import flash.net.URLRequest;

var song = "demo.mp3";
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();
}

For more information you can visit my blog,

http://www.blackcj.com/blog/2009/01/30/flash-player-10-48khz-sound-playback-bug/

Cheers,

Chris

Joan Touzet - [02/08/09 12:52 PM ]
A fix for this without a rewrite would be most appreciated.

Charles Liss - [02/24/09 05:18 PM ]
A fixed version of the player will be released today - www.get.adobe.com/flashplayer