I need to play multi wave files one by one. I tried SoundPool but it play all files at the same time. I tried mediaplayer with this code:
But on device with slow CPU it seems "block" everything until finish playing. Is there any better way to do it?
Thank you for your help.
B4X:
Sub PlaySound (Dir,FileName)
Do While mp.IsPlaying
DoEvents
Loop
mp.Load(Dir, FileName)
mp.Play
End Sub
But on device with slow CPU it seems "block" everything until finish playing. Is there any better way to do it?
Thank you for your help.