Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 05C239F48 for ; Mon, 28 Nov 2011 22:54:01 +0000 (UTC) Received: (qmail 46176 invoked by uid 500); 28 Nov 2011 22:54:00 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 46152 invoked by uid 500); 28 Nov 2011 22:54:00 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 46144 invoked by uid 99); 28 Nov 2011 22:54:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2011 22:54:00 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2011 22:54:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F273FA5286 for ; Mon, 28 Nov 2011 22:53:39 +0000 (UTC) Date: Mon, 28 Nov 2011 22:53:39 +0000 (UTC) From: "Shazron Abdullah (Created) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1462951911.20055.1322520819994.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CB-59) Regression in Media/Sound.m since 0.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Regression in Media/Sound.m since 0.8.0 --------------------------------------- Key: CB-59 URL: https://issues.apache.org/jira/browse/CB-59 Project: Apache Callback Issue Type: Bug Components: iOS Reporter: Shazron Abdullah reported at: https://github.com/phonegap/phonegap-iphone/issues/61 by: https://github.com/hardeep 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 perfect. Device I have experienced this on: 2nd gen iPod touch iPhoneOS 3.1.2 I dont expect this to be device specific. Notes: In PhoneGap 0.8.0 Media.play() behaved in almost the same way as Audio.play() (native html5 audio JS function). In EDGE the functionality is much reduced in my use case (arcade game). [Original LightHouse ticket](http://phonegap.lighthouseapp.com/projects/20116/tickets/60) 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira