}
let gain = (pos_max - neg_max) / 2.0;
let shift = pos_max + neg_max;
if gain < SYNC_MIN_GAIN {
return (f32::MAX, gain, shift);
}
}
let gain = (pos_max - neg_max) / 2.0;
let shift = pos_max + neg_max;
if gain < SYNC_MIN_GAIN {
return (f32::MAX, gain, shift);
}