MCPcopy Create free account
hub / github.com/amsynth/amsynth / Defaults

Method Defaults

src/core/Configuration.cpp:50–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void
51Configuration::Defaults ()
52{
53 audio_driver = "auto";
54 midi_driver = "auto";
55 oss_midi_device = "/dev/midi";
56 midi_channel = 0;
57 oss_audio_device = "/dev/dsp";
58 alsa_audio_device = "default";
59 sample_rate = 44100;
60 channels = 2;
61 buffer_size = 128;
62 polyphony = 10;
63 pitch_bend_range = 2;
64 locked_parameters.clear();
65 jack_autoconnect = true;
66 ui_scale = 0.0;
67 jack_client_name_preference = "amsynth";
68 current_bank_file = filesystem::get().default_bank;
69 current_tuning_file = "default";
70}
71
72int
73Configuration::load ()

Callers

nothing calls this directly

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected