Redo raising the priority of the codec (and voice) thread to fix audio dropouts under...
commitb6c0e88381319620b5a7937aa63a861c727838ee
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Wed, 22 Dec 2010 16:03:15 +0000 (22 16:03 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Wed, 22 Dec 2010 16:03:15 +0000 (22 16:03 +0000)
treeb94e1c9960f02959493bdce36c25c7f0006fdbbc
parenteed98a34d6b9631834f035535ad09ac78778f3a4
Redo raising the priority of the codec (and voice) thread to fix audio dropouts under heavy UI load, such as during kinetic scrolling or pictureflow.

Now it'll raise the priority gradually when under 70% and gradually decrease again in the same way.
Previously it raised gradually when under 17% (way too late) and went straight back to default priority above 17% again.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28877 a1c6a512-1295-4272-9138-f99709370657
apps/pcmbuf.c