| 578 | } |
| 579 | |
| 580 | bool DDACapture::StartCapture() { |
| 581 | auto task = [this] { |
| 582 | Capture(); |
| 583 | }; |
| 584 | |
| 585 | capture_thread_ = Thread::MakeOnceTask(task, std::format("dda_capture:{}", my_monitor_info_.name_), false); |
| 586 | return true; |
| 587 | } |
| 588 | |
| 589 | bool DDACapture::PauseCapture() { |
| 590 | pausing_ = true; |