From b155dbc09315c4da1e7ec68826f914c96a7de760 Mon Sep 17 00:00:00 2001 From: Hiroyuki Adachi Date: Wed, 2 Mar 2022 20:39:38 +0900 Subject: [PATCH] refactor: #13 keeping codes clean. --- MidiPlayer.Droid/MainActivity.Component.cs | 440 ++++++++++----------- MidiPlayer.Droid/MainActivity.cs | 168 ++++---- MidiPlayer.FluidSynth/Synth.cs | 286 +++++++------- MidiPlayer.Midi/StandardMidiFile.cs | 84 ++-- MidiPlayer.SoundFont/SoundFont .cs | 36 +- MidiPlayer.Win64/MainForm.Designer.cs | 112 +++--- MidiPlayer.Win64/MainForm.cs | 110 +++--- MidiPlayer/Conf.cs | 42 +- MidiPlayer/Env.cs | 20 +- MidiPlayer/EventQueue.cs | 28 +- MidiPlayer/Log.cs | 26 +- MidiPlayer/PlayList.cs | 22 +- MidiPlayerTests/PlayListTests.cs | 32 +- MidiPlayerTests/PrivateObject.cs | 16 +- MidiPlayerTests/SoundFontTests.cs | 14 +- MidiPlayerTests/StandardMidiFileTests.cs | 230 +++++------ MidiPlayerTests/SynthTests.cs | 40 +- 17 files changed, 853 insertions(+), 853 deletions(-) diff --git a/MidiPlayer.Droid/MainActivity.Component.cs b/MidiPlayer.Droid/MainActivity.Component.cs index 06e8f0e..0ab5d28 100644 --- a/MidiPlayer.Droid/MainActivity.Component.cs +++ b/MidiPlayer.Droid/MainActivity.Component.cs @@ -15,263 +15,263 @@ public partial class MainActivity : AppCompatActivity { /// initialize the component. /// void initializeComponent() { - var _buttonloadSoundFont = FindViewById