assuming it also needs #include <stdio.h> up top?
does this improve battery life or sound quality at all for you? the only issue I ever had was a bit of crackling sound after an hour or so of listening which goes away after a re-power. hopefully this helps with that? is there any way to verify the second core is indeed shut off?
Yes, I guess it needs stdio. Or you can do it rockbox-ish way.
It looks like this helps with cracklings and volume downfalls. Rockbox multithreading is weak on multiple cores, at least with android.
You can read /proc/cpuinfo to view CPU state. There should be an entry for every core of every CPU.
Edited by napka - 11/16/15 at 12:23am