Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3555] Loading a stereo sound then sleeping causes high CPU load in simulator until closed

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-07T23:50:33.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterXiao
AssigneeIngo Muschenetz
Created2011-04-15T03:46:36.000+0000
Updated2017-06-07T23:50:33.000+0000

Description

Loading stereo sound using the following code:

var waitingSound = Ti.Media.createSound({
  url: 'sounds/twing.caf'
});

Then sleeping OS X will max out the CPU until the simulator is closed or the app is backgrounded. Using the exact same code to load a mono audio file will not cause this problem. I've attached the original stereo file (twing.mp3), and a mono version (twing.caf).

The same thing happens when saved as a stereo *.caf file, so I'm pretty sure it's not because of the file format.

Attachments

FileDateSize
twing.caf2011-04-15T03:46:37.000+000054044
twing.mp32011-04-15T03:46:37.000+000021025

Comments

  1. Lee Morris 2017-06-07

    Closing ticket due to time passed and lack of progress or input.

JSON Source