Skip to main content

Module project

Module project 

Source
Expand description

Shared domain models for the audio engine and UI.

These types live in phosphor-core so both the audio thread (mixer) and the UI thread (TUI/GUI) can reference the same data without duplicating definitions. Audio-thread-safe state uses atomics.

Structs§

TrackConfig
Audio-thread-safe track configuration.
TrackHandle
Shared handle for a track — the UI holds an Arc<TrackHandle> to read VU levels and write mute/solo/arm/volume.
TrackId
Identifies a track by index.

Enums§

TrackKind
What kind of track this is — determines routing and capabilities.