[TIMOB-4943] iOS:KitchenSink->Phone->Sound->Local With file: Delay in playback of audio when 'play' button is clicked( only seen during the first run of the application)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-02-10T00:34:13.000+0000 |
Affected Version/s | Release 1.7.2 |
Fix Version/s | Sprint 2011-32, Release 1.8.0, Release 1.7.6, Sprint 2012-02, Release 2.0.0, Release 1.8.1 |
Components | iOS |
Labels | n/a |
Reporter | Anirudh Nagesh |
Assignee | Stephen Tramer |
Created | 2011-08-08T16:17:58.000+0000 |
Updated | 2012-02-10T00:34:13.000+0000 |
Description
Step1: Run the kitchensink example.( delete the kitchensink app on ios if installed)
Step2: Clean the build folder and run the app on the simulator.
Step3: Run 'Phone->Sound->Local with file' test case.
Step4: There is a dealy of 2-3 seconds before you can hear the sound.
Note: this happens only during the first launch of the application. Subsequent runs of the test case plays the audio file immediately!
Completely resolved for devices. but still this issue exist on simulator. Tested On: TiMob 1.8.0v20110817162148 TiStud: 1.0.4.201108101535 Mac OSX Lion Devices tested on: iPhone Simulator iPod 4.0.2 iPhone 4.2.10 iPad2 4.3.2
Tested fine on both device and simulator for me.
After discussing this issue with Reggie, we came to the conclusion that its not a bug its just a different test case. Clicking on Phone->Sound->Local shows the file which is preloaded with the tag "sound.preload=true" but when we click on Phone->Sound->Local with file shows the delay as it is missing that preload tag and is the expected behavior.
Tested with 1.9.0.v20120119134634 with iphone 3gs (4.3) - fixed