pub fn validate_playback_volume(volume: f32) -> PulseResult<f32>
Validates a real-time playback volume.
Returns an error when volume is outside 0..=1.
volume
0..=1