How can I stop a sound which is played in a native app on android using openSL ES ? For example, I want to play a music while the player navigates in the game menu but as soon as he starts a game I need to stop the music. I use bufferqueue to play sound.
Thank you