public void StartMusic(string name) { var sndEffect = GetSound(name); if(sndEffect != null) { // My work here is done if (music != null && music.State == SoundState.Playing) { UpdateMusicVolume(); return; } InitMusic(sndEffect); } }