incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Created) (JIRA)" <>
Subject [jira] [Created] (CB-59) Regression in Media/Sound.m since 0.8.0
Date Mon, 28 Nov 2011 22:53:39 GMT
Regression in Media/Sound.m since 0.8.0

                 Key: CB-59
             Project: Apache Callback
          Issue Type: Bug
          Components: iOS
            Reporter: Shazron Abdullah

reported at:

When playing sounds with the Media function on device using EDGE PhoneGapLib produces JavaScript
execution halting. Media instances cannot be played overlapping.

Expected result:
Sounds play without impacting JavaScript execution. One Media instance can be played several
times, overlapping, as in 0.8.0.

Actual Result:
When sound is played JavaScript execution is briefly halted, resulting in animation lag, etc.
Playing a Media object again interrupts currently playing sound and starts over.

Steps to reproduce:
Create new PhoneGap project with EDGE PhoneGapLib.
Copy attached index.html and explode.wav into www folder.
Compile and execute on device.
Observe the problem by tapping play sound repetedly (the animation lags) and sound cuts out.

Try the same in 0.8.0 PhoneGap project and experience smooth animation while sounds plays

Device I have experienced this on:
2nd gen iPod touch
iPhoneOS 3.1.2
I dont expect this to be device specific.

In PhoneGap 0.8.0 behaved in almost the same way as (native html5
audio JS function). In EDGE the functionality is much reduced in my use case (arcade game).

[Original LightHouse ticket](

 This ticket has 1 attachment(s).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message