We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea68cc6 commit 8d7d493Copy full SHA for 8d7d493
BlackHole/BlackHole.c
@@ -348,7 +348,7 @@ static OSStatus BlackHole_PerformDeviceConfigurationChange(AudioServerPlugInDriv
348
// recalculate the state that depends on the sample rate
349
struct mach_timebase_info theTimeBaseInfo;
350
mach_timebase_info(&theTimeBaseInfo);
351
- Float64 theHostClockFrequency = (Float64)theTimeBaseInfo.numer / (Float64)theTimeBaseInfo.denom;
+ Float64 theHostClockFrequency = (Float64)theTimeBaseInfo.denom / (Float64)theTimeBaseInfo.numer;
352
theHostClockFrequency *= 1000000000.0;
353
gDevice_HostTicksPerFrame = theHostClockFrequency / gDevice_SampleRate;
354
0 commit comments