A AndroidMadhu Active Member Licensed User Oct 29, 2020 #1 Hello, I am working on soundpool lib. On button click event I want to stop the sound. Intermittently sometimes it is working and sometimes it not. Below is the code base : B4X: Starter.SP.Stop(Starter.PlayId1) Starter.SP.Release() ********************************* LoadId1 = SP.Load(File.DirAssets, "siren.wav") PlayId1 = SP.Play(LoadId1, 1, 1, 1, 1, 1) Please advice
Hello, I am working on soundpool lib. On button click event I want to stop the sound. Intermittently sometimes it is working and sometimes it not. Below is the code base : B4X: Starter.SP.Stop(Starter.PlayId1) Starter.SP.Release() ********************************* LoadId1 = SP.Load(File.DirAssets, "siren.wav") PlayId1 = SP.Play(LoadId1, 1, 1, 1, 1, 1) Please advice
hatzisn Well-Known Member Licensed User Longtime User Oct 29, 2020 #3 How did you solve this? What was wrong? Upvote 0