public static void RadioChannelDown(int radioId)
        {
            var currentRadio = RadioHelper.GetRadio(radioId);

            if (currentRadio != null && currentRadio.modulation != RadioInformation.Modulation.INTERCOM)
            {
                if (currentRadio.modulation != RadioInformation.Modulation.DISABLED &&
                    ClientStateSingleton.Instance.PlayerGameState.control ==
                    PlayerGameState.RadioSwitchControls.HOTAS)
                {
                    var wrap = GlobalSettingsStore.Instance.ProfileSettingsStore.GetClientSettingBool(ProfileSettingsKeys.WrapNextRadio);

                    var chan = currentRadio.channel - 1;

                    var limit = SyncedServerSettings.Instance.GetSettingInt(ServerSettingsKeys.CHANNEL_LIMIT);

                    if (chan < 1)
                    {
                        if (wrap)
                        {
                            chan = limit;
                        }
                        else
                        {
                            chan = 1;
                        }
                    }

                    var freq = PlayerGameState.START_FREQ + (PlayerGameState.CHANNEL_OFFSET * chan);

                    currentRadio.freq = freq;

                    currentRadio.channel = chan;

                    if (IsSecondRadioAvailable())
                    {
                        MessageHub.Instance.Publish(new TextToSpeechMessage()
                        {
                            Message = "Channel " + chan + " Radio " + radioId
                        });
                    }
                    else
                    {
                        MessageHub.Instance.Publish(new TextToSpeechMessage()
                        {
                            Message = "Channel " + chan
                        });
                    }

                    MessageHub.Instance.Publish(new PlayerStateUpdate());
                }
            }
        }
        public static void SetRadioVolume(float volume, int radioId)
        {
            if (volume > 1.0)
            {
                volume = 1.0f;
            }
            else if (volume < 0)
            {
                volume = 0;
            }

            var currentRadio = RadioHelper.GetRadio(radioId);

            if (currentRadio != null &&
                currentRadio.modulation != RadioInformation.Modulation.DISABLED &&
                currentRadio.volMode == RadioInformation.VolumeMode.OVERLAY)
            {
                currentRadio.volume = volume;
            }
        }