fix volume indicator slider when in call #LINQT-2254

This commit is contained in:
Gaelle Braud 2025-12-12 10:43:38 +01:00
parent be6bf6f2a9
commit 2320cc7444

View file

@ -242,10 +242,9 @@ float SettingsModel::getMicVolume() {
} else {
auto call = CoreModel::getInstance()->getCore()->getCurrentCall();
if (call) {
v = call->getRecordVolume();
v = static_cast<float>(pow(10.0, call->getRecordVolume() / 10.0));
}
}
emit micVolumeChanged(v);
return v;
}