修改成异步的接口
This commit is contained in:
@@ -533,7 +533,7 @@ void Spectrum_Control::paint_overlay(Painter& painter,
|
||||
}
|
||||
|
||||
void Spectrum_Control::render_frame_completed(
|
||||
std::uint64_t target_interval_ns) noexcept {
|
||||
std::uint64_t target_interval_ns) {
|
||||
const auto& output = impl_->prepare_buffer;
|
||||
if (!output.valid || !is_visible())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user