private static string GetSuggestedStartBleep(string chiefBleepSoundName, string spotterBleepSoundName) { var resolvedSoundName = chiefBleepSoundName; // If there's nothing to do return default value. if (!PlaybackModerator.IsFakeBleepInjectionEnabled()) { return(resolvedSoundName); } // We need to capture the fact that channel was opened as Spotter or Chief, so that // subsequent injection is aware of that. PlaybackModerator.lastSoundWasSpotter = false; if (PlaybackModerator.PrevFirstKeyWasSpotter()) { // Spotter uses opposite bleeps. resolvedSoundName = spotterBleepSoundName; PlaybackModerator.lastSoundWasSpotter = true; PlaybackModerator.Trace("Opening radio channel as Spotter"); } else { PlaybackModerator.Trace("Opening radio channel as Chief"); } return(resolvedSoundName); }