Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix Default Audio Frequency #1815
Force pushed's diff is a375fab#diff-4859415bafa54277eb749c659b827a8fL1673-R1695
Minimized equation coding to set Xb_Frequency variable directly then set the value to host's.
I had troubleshoot with a tester to figure out the reason Dragon's Lair title's tutorial voices are still high pitched. Since SetFrequency was called first before SetFormat was called. I tried a theory, force original frequency for SetFormat caller, with no confirmation from DirectSound's API doc on msdn. It didn't resolve the issue. At least it is not a regression.
Since there's no regression, ready for merge.