MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / reverse

Method reverse

packages/alphatab/src/synth/vorbis/VorbisStreamDecoder.ts:2293–2303  ·  view source on GitHub ↗
(samples: Float32Array, sampleCount: number)

Source from the content-addressed store, hash-verified

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/**

Callers 6

tokenizeFunction · 0.45
updateTimePositionMethod · 0.45
decodePacketMethod · 0.45
_writeStaffNodeMethod · 0.45
_createStaffSystemFunction · 0.45

Calls 4

calcReverseMethod · 0.80
getMethod · 0.65
hasMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected