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

Lorin Beer commented on CB-403:
-------------------------------

I've updated my fix, and implemented a larger redesign of AudioPlayer/Handler

here is the pull request:
https://github.com/apache/incubator-cordova-android/pull/30

here is my fork:
https://github.com/doggerelverse/incubator-cordova-android


AudioHandler now handles the create method, with a few minor changes to fix 
issues caused by creating the AudioPlayer on create rather than on play/record.

AudioPlayer features a complete refactor of playAudio.

I also changed the behaviour of playAudio: we only load the source if it hasn't 
been loaded before, rather than dumping and reloading on every call to play.


                
> Media.seekTo on first play
> --------------------------
>
>                 Key: CB-403
>                 URL: https://issues.apache.org/jira/browse/CB-403
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.4.0
>            Reporter: Mathieu Savage
>            Assignee: Joe Bowser
>             Fix For: 2.0.0
>
>
> I cannot use .seekTo before I play the sound for 
> the first time. The sound always starts from the beginning. When I 
> pause it and seek to a different time in the sound file, it's all 
> good. 

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

        

Reply via email to