| 841 | } |
| 842 | |
| 843 | double 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 | |
| 851 | double HRTFPanner::latencyTime(ContextRenderLock & r) const |
| 852 | { |
nothing calls this directly
no test coverage detected