For example, suppose my app has some sound effects when click some buttons, and I have a sound toggle button, which clicks to turn on sound, and clicks again to turn off sound. My question is, when should I play the click button sound effect?
- sound on -> sound off
- sound off -> sound on
which case should I play the click button sound effect?