13
0

ALSA backend: fix incorrect pointer cast (fixes #7998)

This commit is contained in:
Paul Davis 2020-04-09 15:40:23 -06:00
parent 230ef7596f
commit 69b4c5108b

View File

@ -489,7 +489,7 @@ AlsaAudioBackend::update_systemic_midi_latencies ()
assert (nfo);
LatencyRange lr;
lr.min = lr.max = (_measure_latency ? 0 : nfo->systemic_output_latency);
set_latency_range (boost::dynamic_pointer_cast<AlsaAudioPort>(*it), true, lr);
set_latency_range (*it, true, lr);
}
i = 0;