You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Guillaume Charhon (JIRA)" <ji...@apache.org> on 2012/08/17 17:01:38 UTC

[jira] [Commented] (CB-879) Support to set the volume when playing short sounds

    [ https://issues.apache.org/jira/browse/CB-879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13436774#comment-13436774 ] 

Guillaume Charhon commented on CB-879:
--------------------------------------

With phonegap 1.9.0 and iOS 5.1.1 it seems that the device volume is not taken into account. 
                
> Support to set the volume when playing short sounds
> ---------------------------------------------------
>
>                 Key: CB-879
>                 URL: https://issues.apache.org/jira/browse/CB-879
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Bada, CordovaJS, Docs, iOS, mobile-spec, webOS, WP7
>    Affects Versions: 1.7.0, 1.8.0
>            Reporter: Dominik
>            Assignee: Shazron Abdullah
>             Fix For: 1.9.0
>
>
> 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?

--
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