[TIMOB-3555] Loading a stereo sound then sleeping causes high CPU load in simulator until closed
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2017-06-07T23:50:33.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | Xiao |
| Assignee | Ingo Muschenetz |
| Created | 2011-04-15T03:46:36.000+0000 |
| Updated | 2017-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
| File | Date | Size |
|---|---|---|
| twing.caf | 2011-04-15T03:46:37.000+0000 | 54044 |
| twing.mp3 | 2011-04-15T03:46:37.000+0000 | 21025 |
Closing ticket due to time passed and lack of progress or input.