Skip to content
This repository has been archived by the owner on Dec 11, 2017. It is now read-only.

URL called multiple times for NativeSound #32

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments
Open

URL called multiple times for NativeSound #32

GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Does the issue occur in "quirks mode", "standards mode" or both? If you
don't know, does your HTML page contains a DOCTYPE declaration?

HTML page DOES contain a DOCTYPE declaration

What version of GWT are you using? 1.4.60? 2.0.4? Other?

2.4.0

What version of the gwt-voices jar file or library file are you using?

2.1.8. But tried also with 3.2.0

What operating system(s) are you using? Windows? Linux? Mac?

Windows 7

Does the issue occur in web mode, development mode (formerly "hosted
mode"), both or don't know?

What browser(s) do you use? Chrome, Firefox, IE, Safari, other?

Chrome Version 26.0.1410.64 m (but occurs in earlier versions too)

What is the browser version (if you know) from Help->About?

What steps will reproduce the problem? Please attach sample code if you
can.
url = "blahUrl";      
soundController = new SoundController();
lastAudioFromLog = 
soundController.createSound(Sound.MIME_TYPE_AUDIO_WAV_UNKNOWN, url);
lastAudioFromLog.play();

What is the expected output? 

Get only single call to the URL. In IE and Firefox, the URL is invoked only 
once as expected. In Chrome is called 3 to 4 times.

What do you see instead?

Multiple calls for the URL and hence the audio gets played more than one 
simultaneously.

Do you have a workaround?

No. The issue happens only in Chrome. IE and Firefox works fine.

Please provide any additional information below.

Content type is: audio/wav

The sound controller being instantiated is NativeSound. Flash, HTML5 and 
WebAudio are not. I tried also disabling all Chrome plugins, and enabling Flash 
and even QuickTime which I installed additionally to try this.

Original issue reported on code.google.com by biancopa...@gmail.com on 15 May 2013 at 6:47

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant