Android Question Problem with SoundPool , sounds played only 4-5 seconds (mp3 or wav or ogg)

john mad doe

Member
Licensed User
Longtime User
Hello

A question for Erel.

I just made an apply to play a different sound when clicking on one of four buttons.

Problem : the file is played only a few seconds , and sometime restart one time , then ends.

I tried different formats like mp3 , wav , ogg , it is the same.


My project is very similar to the examples I found on B4A page , so I have no idea to what to do.


I upload an example , to lighten the file , I keep only the ogg file corresponding to the 4th button (30) , in a separate zip.

Phone: Honor 7X , Android 9

John
 

Attachments

  • example.zip
    10.8 KB · Views: 137
  • depart_vrc_30s.zip
    384 KB · Views: 122
Top