Soundpool will implicitly request audio focus.
Try a method createSoundPool, which checks isMute. The Method playJavaSoundPool, check isMute, also check audioFocusRequest and set focus if not already focus.
Use Mute button releaseAudioFocus. use audioFocusListener Implement Audio ducking for when unmuted to allow notifications focus