Skip to content

armgit / clipy

Public Imported from GitHub
0

The AI-native screen recorder. Record your screen and talk; the people you share it with and your AI agents both get it.

1.0 KB
Raw Blame
//! Screen + audio capture facade. Platforms:
//!   * macOS — ScreenCaptureKit (`macos`) + cpal mic (`audio`)
//!   * Windows — Windows Graphics Capture API + WASAPI loopback (`windows`)

#![allow(dead_code)]

/// Reject before asking for consent, opening devices or creating a take.
pub(crate) fn ensure_supported() -> Result<(), String> {
    if cfg!(any(target_os = "macos", target_os = "windows")) {
        Ok(())
    } else {
        Err(crate::unsupported_on_this_platform("Capture"))
    }
}

pub mod failure;
pub mod level;
pub mod mic_reopen;
pub mod mic_silence;
pub mod output_size;
pub mod stream_health;

#[cfg(target_os = "macos")]
pub mod macos;

#[cfg(target_os = "macos")]
pub mod sck_stream;

#[cfg(target_os = "macos")]
pub mod camera;

#[cfg(target_os = "macos")]
pub mod audio;

#[cfg(target_os = "macos")]
pub mod input_latency;

#[cfg(target_os = "macos")]
pub mod mic_timeline;

#[cfg(target_os = "windows")]
pub mod windows;

#[cfg(target_os = "windows")]
pub mod windows_camera;

#[cfg(target_os = "windows")]
pub mod windows_camera_effects;