pub fn db_to_linear(db: f32) -> f32
Converts decibels to a linear volume factor (0 dB = 1.0, -6 dB ≈ 0.5).