phosphor-gui 0.3.29

GUI frontend for the Phosphor DAW (planned)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! GUI frontend for Phosphor (egui/eframe).
//!
//! Stub — will be implemented in Phase 6.

use anyhow::Result;
use phosphor_core::AudioRequest;

/// `request` is what the command line asked for — usually nothing — not what
/// the engine will run at. When this grows an audio path it must do what
/// `phosphor_tui::app` does: open the `CpalBackend` first, take
/// `CpalBackend::format()`, and build the engine and mixer from that.
/// Building from the request directly is how the whole application ended up
/// running 8.8% sharp.
pub fn run(_request: AudioRequest) -> Result<()> {
    anyhow::bail!("GUI frontend not yet implemented. Use --tui for now.")
}