Wrote /root/JavaX-Caches/tmp_1872872562/main.java - 2032 bytes (written=2032, should be 2032) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_1615505848 /root/JavaX-Caches/tmp_1872872562/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_1872872562/main.java:1: error: class, interface, or enum expected sS hjs_createAudioMeter() { ^ /root/JavaX-Caches/tmp_1872872562/main.java:5: error: class, interface, or enum expected function createAudioMeter(audioContext,clipLevel,averaging,clipLag) { ^ /root/JavaX-Caches/tmp_1872872562/main.java:7: error: class, interface, or enum expected processor.onaudioprocess = volumeAudioProcess; ^ /root/JavaX-Caches/tmp_1872872562/main.java:8: error: class, interface, or enum expected processor.clipping = false; ^ /root/JavaX-Caches/tmp_1872872562/main.java:9: error: class, interface, or enum expected processor.lastClip = 0; ^ /root/JavaX-Caches/tmp_1872872562/main.java:10: error: class, interface, or enum expected processor.volume = 0; ^ /root/JavaX-Caches/tmp_1872872562/main.java:11: error: class, interface, or enum expected processor.clipLevel = clipLevel || 0.98; ^ /root/JavaX-Caches/tmp_1872872562/main.java:12: error: class, interface, or enum expected processor.averaging = averaging || 0.95; ^ /root/JavaX-Caches/tmp_1872872562/main.java:13: error: class, interface, or enum expected processor.clipLag = clipLag || 750; ^ /root/JavaX-Caches/tmp_1872872562/main.java:14: error: class, interface, or enum expected processor.absLevel = 0; ^ /root/JavaX-Caches/tmp_1872872562/main.java:18: error: class, interface, or enum expected processor.connect(audioContext.destination); ^ /root/JavaX-Caches/tmp_1872872562/main.java:20: error: class, interface, or enum expected processor.checkClipping = ^ /root/JavaX-Caches/tmp_1872872562/main.java:24: error: class, interface, or enum expected if ((this.lastClip + this.clipLag) < window.performance.now()) ^ /root/JavaX-Caches/tmp_1872872562/main.java:26: error: class, interface, or enum expected return this.clipping; ^ /root/JavaX-Caches/tmp_1872872562/main.java:27: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_1872872562/main.java:29: error: class, interface, or enum expected processor.shutdown = ^ /root/JavaX-Caches/tmp_1872872562/main.java:32: error: class, interface, or enum expected this.onaudioprocess = null; ^ /root/JavaX-Caches/tmp_1872872562/main.java:33: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_1872872562/main.java:35: error: class, interface, or enum expected return processor; ^ /root/JavaX-Caches/tmp_1872872562/main.java:36: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1872872562/main.java:40: error: class, interface, or enum expected var bufLength = buf.length; ^ /root/JavaX-Caches/tmp_1872872562/main.java:41: error: class, interface, or enum expected var sum = 0; ^ /root/JavaX-Caches/tmp_1872872562/main.java:42: error: class, interface, or enum expected var x; ^ /root/JavaX-Caches/tmp_1872872562/main.java:45: error: class, interface, or enum expected var absLevel = 0; ^ /root/JavaX-Caches/tmp_1872872562/main.java:46: error: class, interface, or enum expected for (var i=0; i<bufLength; i++) { ^ /root/JavaX-Caches/tmp_1872872562/main.java:46: error: class, interface, or enum expected for (var i=0; i<bufLength; i++) { ^ /root/JavaX-Caches/tmp_1872872562/main.java:46: error: class, interface, or enum expected for (var i=0; i<bufLength; i++) { ^ /root/JavaX-Caches/tmp_1872872562/main.java:48: error: class, interface, or enum expected var abs = Math.abs(x); ^ /root/JavaX-Caches/tmp_1872872562/main.java:49: error: class, interface, or enum expected absLevel = Math.max(absLevel, abs); ^ /root/JavaX-Caches/tmp_1872872562/main.java:50: error: class, interface, or enum expected if (!this.clipping && abs >= this.clipLevel) { ^ /root/JavaX-Caches/tmp_1872872562/main.java:52: error: class, interface, or enum expected this.clipping = true; ^ /root/JavaX-Caches/tmp_1872872562/main.java:53: error: class, interface, or enum expected this.lastClip = window.performance.now(); ^ /root/JavaX-Caches/tmp_1872872562/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1872872562/main.java:56: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1872872562/main.java:61: error: class, interface, or enum expected this.absLevel = absLevel; ^ /root/JavaX-Caches/tmp_1872872562/main.java:62: error: class, interface, or enum expected if (audioMeterDebug) ^ /root/JavaX-Caches/tmp_1872872562/main.java:68: error: class, interface, or enum expected this.volume = Math.max(rms, this.volume*this.averaging); ^ /root/JavaX-Caches/tmp_1872872562/main.java:69: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1872872562/main.java:71: error: class, interface, or enum expected } ^ 39 errors