Skip to main content

capture_app

Function capture_app 

Source
pub fn capture_app(identifier: &str) -> Result<CaptureHandle>
Expand description

Capture audio produced by a single application, identified by bundle identifier on macOS or PID on Windows. Returns the same CaptureHandle shape as the mic and system loopback paths so the rest of the pipeline (resampler → engine) is agnostic.