incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon MacDonald <simon.macdon...@gmail.com>
Subject Re: How to set the volume when we play sounds?
Date Thu, 07 Jun 2012 12:49:07 GMT
There is a setVolume for Android and BB but it needs to get into iOS
and then documented.

Simon Mac Donald
http://hi.im/simonmacdonald


On Wed, Jun 6, 2012 at 11:25 PM, Dominik Schraner
<dominik.schraner@gmail.com> wrote:
> 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?

Mime
View raw message