Class FixMidiMix
java.lang.Object
org.jjazz.outputsynth.api.FixMidiMix
Helper class to check and fix MidiMix/OutputSynth consistency.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckAndPossiblyFix(MidiMix midiMix, boolean showFixMidiMixDialog) Check and possibly fix midiMix to be consistent with the default OutputSynth.static booleancheckAndPossiblyFix(MidiMix midiMix, OutputSynth outputSynth, boolean showFixMidiMixDialog) Check and possibly fix midiMix to be consistent with the specified outputSynth.
-
Constructor Details
-
FixMidiMix
public FixMidiMix()
-
-
Method Details
-
checkAndPossiblyFix
Check and possibly fix midiMix to be consistent with the default OutputSynth.- Parameters:
midiMix-showFixMidiMixDialog- If true (and if not running in headless mode), show user a confirmation dialog. User might choose to not fix the midiMix.- Returns:
- True if midiMix was fixed
-
checkAndPossiblyFix
public static boolean checkAndPossiblyFix(MidiMix midiMix, OutputSynth outputSynth, boolean showFixMidiMixDialog) Check and possibly fix midiMix to be consistent with the specified outputSynth.- Parameters:
midiMix-outputSynth-showFixMidiMixDialog- If true (and if not running in headless mode), show user a confirmation dialog. User might choose to not fix the midiMix.- Returns:
- True if midiMix was fixed
-