Rockbox Development > New Ports

Rockbox as an Application (Android, WebOS etc.)

<< < (76/88) > >>

ploco:
about to 5.0 lollipop crash:

from my understanding, after disable the battery monitor, the RaaA can stay alive as long as user not trying to play a song.
by press play, the audioTrack/Streamer thread will call nativeWrite(), contain AudioTrack.write(), a blocking method that jammed the whole process while waiting in write(). I suspect this is where it crashes.
https://mailman.videolan.org/pipermail/vlc-devel/2015-March/101597.html
VLC using a non-blocking AudioTrack write() method for lollipop.
fixed the forever waiting according to this post:
https://mailman.videolan.org/pipermail/vlc-devel/2015-March/101596.html
I wonder how hard it is to bring this method to RaaA.
==[12.08.15 update]=============================
after test with a build disabled both audioTrack and it's jni, The program still crashes in genymotion.
so it's not the JNI but something between read file and pcm_play_dma_init()?
 

p.h.:
Is there currently a way to build RaaA working in Lollipop?
Is it enough to apply the mentioned patch or something more has to be done for RaaA to work?

ploco:

--- Quote from: p.h. on September 02, 2015, 06:21:57 AM ---Is there currently a way to build RaaA working in Lollipop?
Is it enough to apply the mentioned patch or something more has to be done for RaaA to work?

--- End quote ---
No. If such patch exists, would have been merged into the source already.

p.h.:

--- Quote from: ploco on September 02, 2015, 11:13:02 PM ---No. If such patch exists, would have been merged into the source already.

--- End quote ---
What about this patch?

--- Quote from: [Saint] on September 13, 2014, 01:07:14 AM ---RaaA: Android work around the Kitkat ART crashes Change-Id: I21d00aa669295a615bc203555d57ca9cebb20da7
[Saint]

--- End quote ---

ploco:

--- Quote from: p.h. on September 03, 2015, 05:55:08 AM ---What about this patch?

--- Quote from: [Saint] on September 13, 2014, 01:07:14 AM ---RaaA: Android work around the Kitkat ART crashes Change-Id: I21d00aa669295a615bc203555d57ca9cebb20da7
[Saint]

--- End quote ---

--- End quote ---
I committed that one. Doesn't help with the lollipop case. 

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version