1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-11 17:13:37 +02:00

Remove read of a preference that was never written

This commit is contained in:
Paul Licameli
2019-04-03 16:06:02 -04:00
parent 95e2264d24
commit be737fd2c0

View File

@@ -142,11 +142,9 @@ void MidiIOPrefs::PopulateOrExchange( ShuttleGui & S ) {
S.Id(PlayID);
mPlay = S.AddChoice(_("&Device:"),
{} );
int latency = gPrefs->Read(wxT("/MidiIO/OutputLatency"),
DEFAULT_SYNTH_LATENCY);
mLatency = S.TieNumericTextBox(_("MIDI Synth L&atency (ms):"),
wxT("/MidiIO/SynthLatency"),
latency, 3);
DEFAULT_SYNTH_LATENCY, 3);
}
S.EndMultiColumn();
}