[TIMOB-7443] Android: sound.stop - V8 & Rhino - sound.stop should stop sound and reset to the beginning, but pauses sound in place.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-02-14T23:29:06.000+0000 |
Affected Version/s | Release 1.8.1 |
Fix Version/s | Sprint 2012-03, Release 2.0.0, Release 1.8.2 |
Components | Android |
Labels | parity, qe-and012312 |
Reporter | Eric Merriman |
Assignee | Hieu Pham |
Created | 2012-01-26T18:14:33.000+0000 |
Updated | 2012-03-03T22:58:40.000+0000 |
Description
Description:
While testing Kitchensink, in the sound_remote_url.js test, I noticed that the "stop" button was pausing the sound. A subsequent press on the "play" button resumed the sound where it had stopped. According to the API docs, sound.stop is supposed to stop the sound then reset it to the beginning of the sound file. sound.pause (which is also included on a button in the test) should pause the sound, but in this case acts the same as the button executing the sound.stop.
Steps to reproduce:
1) Install KS built with 1.8.1
2) Navigate to Phone> Sound> remote URL and launch test
3) Click "Play" to begin playback
4) Click "stop" to stop playback
5) Click "play" again
Result:
Sound file resumes playback where it was stopped.
Expected:
Sound file plays from the beginning
Notes:
Also occurs with 1.8.0.1
Closing issue Tested with Ti Studio build 1.0.8.201201262211 Ti Mob SDK 1.9.0.v20120206101634 OSX Lion Droid 3 OS 2.3.2 Expected result is shown