ALSA backend: fix incorrect pointer cast (fixes #7998)
This commit is contained in:
parent
230ef7596f
commit
69b4c5108b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user