Skip to main content

stable_id_for

Function stable_id_for 

Source
pub fn stable_id_for(label: &str) -> String
Expand description

Derive a stable ID for a microphone from its human-readable label using FNV-1a. Deterministic, dependency-free. Mirrors crate::camera::stable_id_for but emits a mic- prefix so the two ID spaces never collide.