I am experiencing a very strange CPU error with my streaming audio application.
When the application is in the foreground and playing music, the overall CPU usage of the device is only about 15%. However, as soon as the application is placed in the background, the CPU utilization reaches 100% and remains there.
About 40% of this process comes from the application process itself, while about another 60% comes from the SpringBoard process, which apparently handles all Core Animation calls (although I do not use Core Animation, I assume that it also handles other activities. associated with the user interface). In addition, according to the "CPU Activity" tool, most of the additional CPU usage from the application process itself falls into the "graphics" category, although I see an increase in both "sound processing" and (oddly enough) the "foreground" app activity " .
How can I find out what causes this problem? The tools tell me at a high level what is happening, but not why this is happening.
source share