phosphor_gui/lib.rs
1//! GUI frontend for Phosphor (egui/eframe).
2//!
3//! Stub — will be implemented in Phase 6.
4
5use anyhow::Result;
6use phosphor_core::AudioRequest;
7
8/// `request` is what the command line asked for — usually nothing — not what
9/// the engine will run at. When this grows an audio path it must do what
10/// `phosphor_tui::app` does: open the `CpalBackend` first, take
11/// `CpalBackend::format()`, and build the engine and mixer from that.
12/// Building from the request directly is how the whole application ended up
13/// running 8.8% sharp.
14pub fn run(_request: AudioRequest) -> Result<()> {
15 anyhow::bail!("GUI frontend not yet implemented. Use --tui for now.")
16}