soundcloud / areweplayingyet

html5 audio benchmarks
BSD 2-Clause "Simplified" License
311 stars 69 forks source link

Multiple Audio Objects Test false positive #47

Open nicdaCosta opened 11 years ago

nicdaCosta commented 11 years ago

When running the test Multiple Audio Objects playing at the same time, on the Samsung Galaxy S3 ( Android 4.1.2 Stock ROM ) - Default browser, the result is true.

But when adding a src to each Audio() instance in the test ( have tried with alternate sounds to be able to differentiate between audio instances ), only one sound is actually played.

What seems to occur is the first Audio is loaded and played, but when the second Audio is played, the first one's playback is stopped to allow for the second to play. Thus they both fire the playing event which results in a true result.

At the end of the audio's duration, both Audio() instances have the property ended equal to true implying both have completed playback, but only one was audible.

Not currently sure of a possible solution.