コード例 #1
0
        public void SetEQByUsing(EQPreset pre, bool Enable)
        {
            switch (pre)
            {
            case EQPreset.Default:
                this.Enable = Enable;
                this.SetAllBands(20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20);
                if (this.SettingsLoaded == null)
                {
                    break;
                }
                this.SettingsLoaded((object)this, new EventArgs());
                break;

            case EQPreset.BassTreble:
                this.Enable = Enable;
                this.SetAllBands(18, 25, 24, 23, 20, 19, 18, 19, 22, 24, 22);
                if (this.SettingsLoaded == null)
                {
                    break;
                }
                this.SettingsLoaded((object)this, new EventArgs());
                break;
            }
        }
コード例 #2
0
ファイル: Player.cs プロジェクト: pascalfr/MPfm
 public void ApplyEQPreset(EQPreset preset)
 {
 }