Skip to main content

Module system_audio

Module system_audio 

Source
Expand description

SystemAudioRow + SystemAudioAppList (M-UI.9 / AUT-129) — the tray popover’s system-audio section. Collapsed = one row showing the currently-selected count + overlapping app icons + toggle. Expanded = a filter row (All / None / Suggested) + per-app rows with selection checkboxes + live meters.

Stateless: selection set is a prop. Callbacks would land in app-ui per the presentational contract.

Structs§

AppIconView
View-model for one app icon — used both in the collapsed stack and inside expanded AudioAppRows.
AudioAppView
One app row inside the expanded list.
SystemAudioAppListProps
Props for the SystemAudioAppList component.
SystemAudioRowProps
Props for the SystemAudioRow component.
SystemAudioView
View-model for the collapsed SystemAudioRow.

Enums§

AudioFilter
Filter chip kind for the expanded list.

Constants§

ICON_STACK_MAX
Maximum visible icons before the stack collapses to an overflow pill. Module-level so tests + downstream consumers can read it without a Leptos-component receiver (components are functions, not types — impl Component {} won’t compile).
ICON_STACK_MAX_VISIBLE 🔒

Functions§

SystemAudioAppList
Expanded list — filter row + per-app rows.
SystemAudioRow
Collapsed system-audio row.
build_icon_stack 🔒
Stack at most ICON_STACK_MAX_VISIBLE icons + an overflow pill for the rest.
format_selection_count
Format "N of M apps" (plural-aware).
render_app_row 🔒