You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Egg Deng (Created) (JIRA)" <ji...@apache.org> on 2011/12/17 09:51:30 UTC
[jira] [Created] (CB-129) Audio broken in Android
Audio broken 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.2.0, 1.1.0
Environment: Android
Reporter: Egg Deng
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, depending on where it is used, either breaks audio altogether or has no effect at all.
--
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
[jira] [Updated] (CB-129) Phonegap breaks audio in Android
Posted by "Joe Bowser (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser updated CB-129:
--------------------------
Fix Version/s: 1.6.0
> 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
[jira] [Commented] (CB-129) Phonegap breaks audio in Android
Posted by "Joe Bowser (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (CB-129) Phonegap breaks audio in Android
Posted by "Egg Deng (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Egg Deng updated CB-129:
------------------------
Description:
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.
was:
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 and, depending on where it is used, either breaks audio altogether or has no effect at all. The bug will also prevent any other applications from using audio.
> 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
>
> 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
[jira] [Commented] (CB-129) Phonegap breaks audio in Android
Posted by "Egg Deng (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198875#comment-13198875 ]
Egg Deng commented on CB-129:
-----------------------------
Hi Joe,
I currently have this issue using Gingerbread (2.3.3) on a Samsung Galaxy
(GT-I9000). I'm afraid it's been six weeks since I last dealt with it so I
can't give you much in the way of details right now. It has previously been
reported by others, for example
here<http://comments.gmane.org/gmane.comp.handhelds.phonegap/12859>
Aidan
On Wed, Feb 1, 2012 at 9:55 PM, Joe Bowser (Commented) (JIRA) <
> 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
[jira] [Updated] (CB-129) Phonegap breaks audio in Android
Posted by "Egg Deng (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Egg Deng updated CB-129:
------------------------
Description:
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 and, depending on where it is used, either breaks audio altogether or has no effect at all. The bug will also prevent any other applications from using audio.
was:
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, depending on where it is used, either breaks audio altogether or has no effect at all. The bug will also prevent any other applications from using audio.
Summary: Phonegap breaks audio in Android (was: Audio broken in Android)
> 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
>
> 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 and, depending on where it is used, either breaks audio altogether or has no effect at all. The bug will also prevent any other applications from using audio.
--
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
[jira] [Resolved] (CB-129) Phonegap breaks audio in Android
Posted by "Joe Bowser (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser resolved CB-129.
---------------------------
Resolution: Cannot Reproduce
Assignee: Joe Bowser
I can't reproduce it on this end with the PhoneGap Demo. Closing.
> 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
> Assignee: Joe Bowser
> 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
[jira] [Updated] (CB-129) Audio broken in Android
Posted by "Egg Deng (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Egg Deng updated CB-129:
------------------------
Description:
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, depending on where it is used, either breaks audio altogether or has no effect at all. The bug will also prevent any other applications from using audio.
was:
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, depending on where it is used, either breaks audio altogether or has no effect at all.
> Audio broken 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
>
> 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, depending on where it is used, either breaks audio altogether or has no effect at all. The bug will also prevent any other applications from using audio.
--
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