improve pal gens sound quality in clot throttle modfe
This commit is contained in:
parent
0e4967f539
commit
62c90d576e
|
@ -44,7 +44,7 @@ namespace BizHawk.Emulation.Common
|
||||||
public void RecalculateMagic(double framerate)
|
public void RecalculateMagic(double framerate)
|
||||||
{
|
{
|
||||||
// ceiling instead of floor here is very important (magic)
|
// ceiling instead of floor here is very important (magic)
|
||||||
SamplesInOneFrame = (int)System.Math.Ceiling((88200.0 / framerate));
|
SamplesInOneFrame = 2 * (int)System.Math.Ceiling((44100.0 / framerate));
|
||||||
//TargetExtraSamples = ;// complete guess
|
//TargetExtraSamples = ;// complete guess
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue