Run the pcm callback from a separate OS thread, that seems to make audio playback
commitb80ed1c38ce6d918b553fc0ef4d4bd1ac3af8811
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Sun, 8 Aug 2010 15:53:02 +0000 (8 15:53 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Sun, 8 Aug 2010 15:53:02 +0000 (8 15:53 +0000)
tree1a32ad40a29b425a63ae953b2297447b5a87bf4f
parent0f9d33a49287af51a907eb56e4b6556e1da0c06f
Run the pcm callback from a separate OS thread, that seems to make audio playback
much more reliable. Especially on the broken HTC phones. Now it recovers from
stuttering instead of simply stopping playback on my phone.

Previously it was run on the main/UI thread (the docs lie in that regard), which
I suspect happened to be blocked if it's in the background and tries to
get too much CPU.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27753 a1c6a512-1295-4272-9138-f99709370657
android/src/org/rockbox/RockboxPCM.java