Skip to content

Privacy-first AI meeting note taker for Windows, macOS and Linux. Free, open source (MIT). On-device Whisper/Parakeet transcription and speaker diarization, no meeting bot. Open-source alternative to Granola, Otter and Fireflies. https://meetily.ai

1.1 KB
Raw Blame
// Audio capture implementations module

pub mod microphone;
pub mod system;
pub mod backend_config;

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

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

#[cfg(target_os = "linux")]
pub(crate) mod pulse_enumerator;

// Re-export capture functionality
pub use system::{
    SystemAudioCapture, SystemAudioStream,
    start_system_audio_capture, list_system_audio_devices,
    check_system_audio_permissions
};

#[cfg(target_os = "macos")]
pub use core_audio::{CoreAudioCapture, CoreAudioStream};

#[cfg(target_os = "linux")]
pub use pulse_linux::{
    PulseCapture, PulseSink, PulseSource,
    default_sink as default_pulse_sink, default_sink_name as default_pulse_sink_name,
    default_source_name as default_pulse_source_name, find_sink_by_name, find_source_by_name,
    list_sinks as list_pulse_sinks, list_sources as list_pulse_sources,
};

// Re-export backend configuration
pub use backend_config::{
    AudioCaptureBackend, BackendConfig, BACKEND_CONFIG,
    get_current_backend, set_current_backend, get_available_backends
};