android - Most precise way of updating the UI based on markers from an AudioTrack? -
i needing precise syncing between audiotrack , screen. screen content standard views created xml. screen updates simple, consisting (currently) of switching single small images through viewflipper ui component. changes occuring once every 2 seconds 3 times second, , i'm using onmarkerreached() of audiotrack , updating ui on main thread way. this working pretty good, except on low end devices there appears inconsitency between audio , when screen updates, not acceptable. classes should looking @ in order update screen more precisely? understanding surface can update screen off main thread, going way go? i continue use java audiotrack implementation, if possible.