incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-129) Phonegap breaks audio in Android
Date Wed, 01 Feb 2012 20:55:00 GMT

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

Joe Bowser commented on CB-129:
-------------------------------

Can you please provide more information about which version of Android, as well as what device
you're running.  I haven't run into this particular issue on Android 4.0.2 on the Galaxy Nexus,
nor on the Nexus S so far.
                
> Phonegap breaks audio in Android
> --------------------------------
>
>                 Key: CB-129
>                 URL: https://issues.apache.org/jira/browse/CB-129
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.1.0, 1.2.0
>         Environment: Android
>            Reporter: Egg Deng
>              Labels: android, audio, issue#208, media
>             Fix For: 1.6.0
>
>
> Using the Media object, it is possible to play one or more audio files no more than a
maximum of 7 times, at which point it becomes necessary to force quit the app to continue
to have audio. This is the old phonegap issue #208, which was supposed to be fixed in 1.1.0.
> It happens presumably because "there are a finite amount of OpenCore instances for media
playback" (http://docs.phonegap.com/en/1.0.0/phonegap_media_media.md.html). The documentation
recommends using media.release() to free resources, but this function is broken. Instead of
releasing the resource just used, it tries to release the next resource to be made available
and so, depending on where it is used, either breaks audio altogether or has no effect at
all. Once the limit is reached, the bug will also prevent any other applications from using
audio until the original application is terminated.

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

        

Mime
View raw message