SimonSmith
Member
After switching OpenBOR to backend you'll find it's still CPU consuming and eats battery quickly.
I've looked into the android source and have located where the bug caused.
-------------------------------------------------------
mAudioThread = new Thread(new Runnable() {
@Override
public void run() {
if (mAudioTrack.getState() == AudioTrack.STATE_INITIALIZED) {
mAudioTrack.play();
nativeRunAudioThread();
}
}
});
--------------------------------------------------------
I've tried a lot but failed each time....
I've looked into the android source and have located where the bug caused.
-------------------------------------------------------
mAudioThread = new Thread(new Runnable() {
@Override
public void run() {
if (mAudioTrack.getState() == AudioTrack.STATE_INITIALIZED) {
mAudioTrack.play();
nativeRunAudioThread();
}
}
});
--------------------------------------------------------
I've tried a lot but failed each time....