pub fn percent_to_volume(percent: f64) -> f64Expand description
Convert percentage volume (0-100) to normalized (0.0-1.0)
Used when receiving volume from Jellyfin remote sessions or UI controls. Values outside the 0-100 range are clamped.
§Arguments
percent- Volume as percentage (0 to 100)
§Returns
Normalized volume (0.0 to 1.0)
§Example
let normalized = percent_to_volume(75.0); // 0.75