Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[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 Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-02-10T00:34:13.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sSprint 2011-32, Release 1.8.0, Release 1.7.6, Sprint 2012-02, Release 2.0.0, Release 1.8.1
ComponentsiOS
Labelsn/a
ReporterAnirudh Nagesh
AssigneeStephen Tramer
Created2011-08-08T16:17:58.000+0000
Updated2012-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!

Comments

  1. Vikramjeet Singh 2011-08-17

    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
  2. Reggie Seagraves 2011-08-18

    Tested fine on both device and simulator for me.
  3. Vikramjeet Singh 2011-08-18

    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.
  4. Natalie Huynh 2012-01-19

    Tested with 1.9.0.v20120119134634 with iphone 3gs (4.3) - fixed

JSON Source