[android-developers] Re: Android view refresh rate (FPS)

2010-03-28 Thread Gabriel Simões
Thanks Roman... Trying to optimize my code without using the ndk right now. If I don´t find a way out, then I get to this next step. On 28 mar, 23:19, Romain Guy wrote: > There's no refresh limit (except the one set by the display, which is > usually 50 or 60 fps) in the Views system nor in Asyn

[android-developers] Re: Android view refresh rate (FPS)

2010-03-28 Thread Streets Of Boston
Maybe you can code your app differently. Instead of publishing your progress by your background thread (pushing progress info), your main gui-thread could instead query for the updates (pulling progress info). Save the progress of your AudioTrack's audio stream into a variable of the background ta

[android-developers] Re: Android view refresh rate (FPS)

2010-03-28 Thread Gabriel Simões
This would be a solution if I didn´t have to syncronize the UI updates with the audio playback. Unfortunately in this case I have to refresh the UI according to the audio processed and in some cases 7 times per second. Right now I barely can handle 5. On 29 mar, 00:47, Streets Of Boston wrote: >