MCPcopy Create free account
hub / github.com/LabSound/LabSound / tailTime

Method tailTime

src/internal/src/HRTFPanner.cpp:843–849  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

841}
842
843double HRTFPanner::tailTime(ContextRenderLock & r) const
844{
845 // Because HRTFPanner is implemented with a DelayKernel and a FFTConvolver, the tailTime of the HRTFPanner
846 // is the sum of the tailTime of the DelayKernel and the tailTime of the FFTConvolver, which is MaxDelayTimeSeconds
847 // and fftSize() / 2, respectively.
848 return MaxDelayTimeSeconds + (fftSize() / 2) / static_cast<double>(r.context()->sampleRate());
849}
850
851double HRTFPanner::latencyTime(ContextRenderLock & r) const
852{

Callers

nothing calls this directly

Calls 2

sampleRateMethod · 0.45
contextMethod · 0.45

Tested by

no test coverage detected