* @target web
()
| 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 |
no test coverage detected