protected void OnAudioStatusChanged(bool status)
    {
        var ev = AudioStatusChanged;

        if (ev != null)
        {
            var args = new AudioStatusEventArgs(IsAudioOn);
            ev(this, args);
        }
    }
 private void VolumeController_AudioStatusChanged(object sender, AudioStatusEventArgs e)
 {
     SetBackgroundPlaying(e.IsAudioOn);
 }