Commit 138e83c7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

DirectSound: fix inverted volume report

parent 2c1d3be4
......@@ -618,7 +618,7 @@ static int VolumeSet( audio_output_t *p_aout, float vol )
InterlockedExchange(&sys->volume.volume, mb);
/* Convert back to UI volume */
vol = cbrtf(powf(10.f, ((float)mb) / -2000.f));
vol = cbrtf(powf(10.f, ((float)mb) / 2000.f));
aout_VolumeReport( p_aout, vol );
return ret;
}
......
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