summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-05-05 18:07:21 +0200
committerRobin Gareus <robin@gareus.org>2019-05-05 18:07:21 +0200
commitddd1cda2609362a1d4f153d738f9e2c8429d453b (patch)
tree7e89fbde6814fbb168838b0a80414ddbba821369
parentc5346f5c15e0709c6c24e7d64d1aea18272b7cd7 (diff)
Remove outdated comment
-rw-r--r--libs/backends/alsa/alsa_audiobackend.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/backends/alsa/alsa_audiobackend.cc b/libs/backends/alsa/alsa_audiobackend.cc
index 15ae6f2817..7f7f8aa8bc 100644
--- a/libs/backends/alsa/alsa_audiobackend.cc
+++ b/libs/backends/alsa/alsa_audiobackend.cc
@@ -676,11 +676,6 @@ AlsaAudioBackend::set_midi_device_enabled (std::string const device, bool enable
nfo->enabled = enable;
if (_run && prev_enabled != enable) {
- // XXX actually we should not change system-ports while running,
- // because iterators in main_process_thread will become invalid.
- //
- // Luckily the engine dialog does not call this while the engine is running,
- // This code is currently not used.
if (enable) {
// add ports for the given device
register_system_midi_ports(device);