I have an MP3 file that plays for about 1.5 seconds (it's a voice command).
When I use player1.play after having
...
It plays the first 90 to 95% and then stops without finishing the last word(s).
Is there something I need to do to force it to complete?
When I play the mp3 file with any player, it plays the complete file accurately.
Thanks,
Rusty
When I use player1.play after having
B4X:
If FirstTime Then
Activity.LoadLayout("Main")
player1.Initialize("player")
Dim sources As List
sources.Initialize
sources.Add(player1.CreateFileSource(File.DirAssets, "voicefile.mp3"))
player1.Prepare(player1.CreateListSource(sources))
ExoPlayerView.Player = player1
End If
B4X:
player1.Position = 0
player1.Play
Is there something I need to do to force it to complete?
When I play the mp3 file with any player, it plays the complete file accurately.
Thanks,
Rusty