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 181FCC9AC for ; Thu, 7 Jun 2012 03:26:27 +0000 (UTC) Received: (qmail 11596 invoked by uid 500); 7 Jun 2012 03:26:26 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 11323 invoked by uid 500); 7 Jun 2012 03:26:26 -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 11101 invoked by uid 99); 7 Jun 2012 03:26:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2012 03:26:25 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dominik.schraner@gmail.com designates 209.85.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-ob0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2012 03:26:19 +0000 Received: by obhx4 with SMTP id x4so291405obh.6 for ; Wed, 06 Jun 2012 20:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=dJrQSTr5Ga10LYWtcyiiL/5MZY3GMdFSH0DopE+6iLQ=; b=m3Kg27zV30fO+MbLwtU98iXnXAnjcnMPKJIZIfBOYkt9IQW09V1gmDKL8VdtGRLKvG TqeJgZPY2qWMS4HXC/nNw/X8XF5jT1oYlUukRoa3iH6zXPWqzYo481EntHI9XEsJNnbC 2E8Ut+WL+8JFwauYvh0wzmQY0gZ4E+8/tuHD5psFrCeJ1GLT1+Pf5EPMigiPPFWXMvFr 33NY+9yg3dVE8BxDUBtxgOqt5U78ugPT6+Lm+/rtry068lqaSg2eHbqjZfkaMPfaIvix 4BIDEEO+J2otaZ1RZ5B9pkgHJn/ToBowPWhBrgk8L8Z2C/+3p8MOvIbfQKWasSkQcoBg 59sw== MIME-Version: 1.0 Received: by 10.60.30.101 with SMTP id r5mr415173oeh.68.1339039558595; Wed, 06 Jun 2012 20:25:58 -0700 (PDT) Received: by 10.60.146.226 with HTTP; Wed, 6 Jun 2012 20:25:58 -0700 (PDT) Date: Thu, 7 Jun 2012 10:25:58 +0700 Message-ID: Subject: How to set the volume when we play sounds? From: Dominik Schraner To: callback-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=e89a8fb206783af35f04c1d9718f --e89a8fb206783af35f04c1d9718f Content-Type: text/plain; charset=ISO-8859-1 Looking at http://docs.phonegap.com/en/edge/cordova_media_media.md.html#media.play it seems like PhoneGap doesn't allow to set the volume when we play audio files (in order that it is set prior to when the playing actually starts). In my case I would like to pass the volume as a parameter to this method here: function playAudio(url) in order to play a short beep. I looked at the PhoneGap implementation for Android and iOS and it seems to be easy to implement on these two platforms. Would it make sense to add support for this? --e89a8fb206783af35f04c1d9718f--