java.lang.Object
org.fluidsynth.api.settings.Setting
org.fluidsynth.api.settings.BooleanSetting
org.fluidsynth.api.settings.SwitchSetting
- public class SwitchSetting
- extends BooleanSetting
Differs from boolean only in how the command line argument is
produced. The command line arg produced is simply --option and not
--option=value or -o name=value like the other settings.
| Fields inherited from class org.fluidsynth.api.settings.Setting |
|
|
Method Summary |
java.lang.String |
commandLineArg()
Return the command line argument used to communicate the
current value of this setting to fluidsynth. |
| Methods inherited from class org.fluidsynth.api.settings.Setting |
dirty, getCommandLineOption, getDefaultValue, getName, getRealtime, getValue, isRealtime, isUserModified, merge, setCommandLineOption, setDefaultValue, setName, setRealtime, setSettings, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwitchSetting
public SwitchSetting()
commandLineArg
public java.lang.String commandLineArg()
- Description copied from class:
Setting
- Return the command line argument used to communicate the
current value of this setting to fluidsynth. E.g., when the
value of the audio.driver setting is "alsa", this method
returns --audio-driver=alsa.
- Overrides:
commandLineArg in class Setting