Ola
I'm trying SoundPool and its doing what I want but only works once. I am able to play a sound (infinity) when a firebase notification arrives.
In my activity I can click and button and stop the sound. This works, but it only happens once and follow up sounds played cannot be stopped (kinda frustrating).
I'm wondering if there is an alternative. The purpose is to play the sound, someone should stop it manually but it should not stop until someone intervens.
SoundPool is able to do this, but for some reason I stop the sound, it stops, then when other notifications come, the sound plays, it does not stop when pressing stop.
I'm just using SP.Stop(notifID)
Thanks.