Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A13EE4DF for ; Sat, 19 Jan 2013 00:16:14 +0000 (UTC) Received: (qmail 70779 invoked by uid 500); 19 Jan 2013 00:16:13 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 70737 invoked by uid 500); 19 Jan 2013 00:16:13 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 70588 invoked by uid 500); 19 Jan 2013 00:16:13 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 70557 invoked by uid 99); 19 Jan 2013 00:16:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jan 2013 00:16:13 +0000 Date: Sat, 19 Jan 2013 00:16:13 +0000 (UTC) From: "Daniel Bertrand (JIRA)" To: callback-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-2270) NO SOUND AT ALL ----> issuing a media.release() immediately after a media.play() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Daniel Bertrand created CB-2270: ----------------------------------- Summary: NO SOUND AT ALL ----> issuing a media.release() immediately after a media.play() Key: CB-2270 URL: https://issues.apache.org/jira/browse/CB-2270 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 2.3.0 Environment: Xcode Version 4.5.2 (4G2008a)/ Cordova 2.3.0rc1/ iPhone 3G and 4S Reporter: Daniel Bertrand Assignee: Shazron Abdullah No audio when I do this: var my_media = new Media("scanning.mp3"); my_media.play(); my_media.release(); but you can hear audio when I do this: var my_media = new Media("scanning.mp3"); my_media.play(); Couldn't you just defer my_media.release() until my_media.play is completed or interrupted by my_media.pause etc? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira