calamitySoft / Interval-Training

Plays two notes and asks you to identify the interval between them.
http://www.calamitysoft.net/on-the-go-intervals/
Other
2 stars 2 forks source link

Jeffrey's bug: The app stops playing sounds after a while. #35

Open loganmoseley opened 13 years ago

loganmoseley commented 13 years ago

Basically, at some point in time our sounds stop playing.

Sam, could you copy/paste his exact words here?

loganmoseley commented 13 years ago

I had Xcode "Run with Performance Tool" "Leaks" and "Allocations", at which point it was clear something was eating up memory. I simultaneously found (or the leaks lead me to believe, I'm not sure) that we had no sound after the 61st question. The sounds were never coming back because he's running iOS 4.x, which puts apps in the background when the user exits (NOT of closing them), and he probably never actually closed the process.

Many leaks are fixed (the ones that aren't KINDA seem to be Apple's problem). Memory management is under control. App now sits ~3.7 MB allocation, instead of expanding to 11 MB by 61 questions (and then not playing).

Implemented at 05b3f8745b6ea366c1be5e1c47a8687ac7c5a039

calamitySoft commented 13 years ago

Thanks for responding to my complaint.

My Iphone is a Iphone 3G (s) Version 4.1 (8B117)

Other Apps all working fine - audio working and no problems with any of them.

I used it once for about 5 minutes to show a friend immediately after downloading (it worked then) and then I did not use it for a few days. When I went into it, it would not work.

Bits of the App functions in that I can select the difficulty level and root, but I cannot hear anything when I tap "Listen" and the "select" options don't scroll. Frozen on Major Third.