I updated my nexus7 to Android 5.0 last night, and checked my app still worked.
It does, but not 100%. the app usually plays a series of clicks when something spins, and that's not working any more.
My code for playing the tick looks like this below - what I want to know is, would my Do While loop (that waits for the tick to finish playing) have any effect? I thought maybe since it blocks execution it may be optimised out by the compiler or something.
It does, but not 100%. the app usually plays a series of clicks when something spins, and that's not working any more.
My code for playing the tick looks like this below - what I want to know is, would my Do While loop (that waits for the tick to finish playing) have any effect? I thought maybe since it blocks execution it may be optimised out by the compiler or something.
B4X:
Sub PlayTick
MP.Initialize ()
MP.Load(File.DirAssets, "tick.wav")
MP.Play
Do While MP.IsPlaying
Loop
End Sub