| 693 | } |
| 694 | |
| 695 | int rcli_start_capture(RCLIHandle handle) { |
| 696 | if (!handle) return -1; |
| 697 | auto* engine = static_cast<RCLIEngine*>(handle); |
| 698 | if (!engine->initialized) return -1; |
| 699 | return engine->pipeline.start_capture() ? 0 : -1; |
| 700 | } |
| 701 | |
| 702 | const char* rcli_stop_capture_and_transcribe(RCLIHandle handle) { |
| 703 | if (!handle) return ""; |
no test coverage detected