Make DirectSound volume control more consistent with XAudio2.

This commit is contained in:
jdpurcell 2015-01-31 19:20:44 +00:00
parent d1bfe9c842
commit 0dfd880a41
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ namespace BizHawk.Client.EmuHawk
{
// I'm not sure if this is "technically" correct but it works okay
int range = (int)Volume.Maximum - (int)Volume.Minimum;
_deviceBuffer.Volume = (int)(Math.Pow(volume, 0.15) * range) + (int)Volume.Minimum;
_deviceBuffer.Volume = (int)(Math.Pow(volume, 0.1) * range) + (int)Volume.Minimum;
}
public void StartSound()