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

Method initializeAudioWorklet

packages/alphatab/src/Environment.ts:680–688  ·  view source on GitHub ↗

* @target web

()

Source from the content-addressed store, hash-verified

678 * @target web
679 */
680 public static initializeAudioWorklet() {
681 if (!Environment.isRunningInAudioWorklet) {
682 throw new AlphaTabError(
683 AlphaTabErrorType.General,
684 'Not running in audio worklet, cannot run worklet initialization'
685 );
686 }
687 AlphaSynthWebWorklet.init();
688 }
689
690 /**
691 * @target web

Callers 2

alphaTab.main.tsFile · 0.80

Calls 1

initMethod · 0.45

Tested by

no test coverage detected