Commit 22fda391 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

mmdevice: fix volume scale (fixes #12825)

parent a8d46dc7
...@@ -975,7 +975,7 @@ static HRESULT MMSession(audio_output_t *aout, IMMDeviceEnumerator *it) ...@@ -975,7 +975,7 @@ static HRESULT MMSession(audio_output_t *aout, IMMDeviceEnumerator *it)
{ {
msg_Dbg(aout, "volume from %+f dB to %+f dB with %f dB increments", msg_Dbg(aout, "volume from %+f dB to %+f dB with %f dB increments",
min, max, inc); min, max, inc);
base_volume = powf(10.f, max / 20.f + .3f); base_volume = powf(10.f, max / 20.f);
} }
else else
msg_Err(aout, "cannot get volume range (error 0x%lx)", hr); msg_Err(aout, "cannot get volume range (error 0x%lx)", hr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment