(samples: Float32Array, sampleCount: number)
| 2291 | private _setupCache: Map<number, MdctImpl> = new Map<number, MdctImpl>(); |
| 2292 | |
| 2293 | public reverse(samples: Float32Array, sampleCount: number) { |
| 2294 | let impl: MdctImpl; |
| 2295 | if (this._setupCache.has(sampleCount)) { |
| 2296 | impl = this._setupCache.get(sampleCount)!; |
| 2297 | } else { |
| 2298 | impl = new MdctImpl(sampleCount); |
| 2299 | this._setupCache.set(sampleCount, impl); |
| 2300 | } |
| 2301 | |
| 2302 | impl.calcReverse(samples); |
| 2303 | } |
| 2304 | } |
| 2305 | |
| 2306 | /** |
no test coverage detected