Skip to main content

list_audio_apps

Function list_audio_apps 

Source
pub fn list_audio_apps() -> Result<Vec<AudioAppView>, String>
Expand description

Enumerate every running app SCK can see (M-AUDIO-SYS.2 / AUT-282).

Returns an empty Vec on non-macOS targets (system audio is macOS-only); the Leptos picker treats empty as “no apps available” and renders the empty state.

§Errors

Returns the underlying SCK error (TCC permission denied, enumeration failed, etc.) as a string so the Leptos picker can show it inline.