hydra

Terminal replacement for Loopback — virtual audio devices and routing on macOS, from a ratatui TUI.
Log | Files | Refs | README | LICENSE

lib.rs (606B)


      1 //! Hydra's routing core: the domain model, config persistence, and the CoreAudio
      2 //! engine. Only the daemon (`hydrad`) links this crate; the TUI talks to the daemon
      3 //! over [`hydra_ipc`] and never touches CoreAudio.
      4 
      5 pub mod config;
      6 pub mod manifest;
      7 pub mod model;
      8 pub mod presets;
      9 
     10 pub use model::RoutingState;
     11 
     12 /// CoreAudio FFI + the live routing engine. macOS-only; the model layer stays portable.
     13 #[cfg(target_os = "macos")]
     14 pub mod ffi;
     15 #[cfg(target_os = "macos")]
     16 pub mod engine;
     17 
     18 /// Daemon/engine version, surfaced to clients in snapshots.
     19 pub const VERSION: &str = env!("CARGO_PKG_VERSION");