java.lang.Object
org.fluidsynth.api.settings.Setting
org.fluidsynth.api.settings.StringSetting
org.fluidsynth.api.settings.RawStringSetting
- public class RawStringSetting
- extends StringSetting
Specialized subclass of string setting that returns the raw value
as the command line argument. This is handy for treating the synth
pathname and any extra args as 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 |
RawStringSetting
public RawStringSetting()
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