Wrote /root/JavaX-Caches/tmp_1686302998/main.java - 1837 bytes (written=1837, should be 1837)
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_558831470 /root/JavaX-Caches/tmp_1686302998/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1686302998/main.java:1: error: class, interface, or enum expected
static playAudioFromSampleMakingFunction_AudioLoop playAudioFromSampleMakingFunction(int bufSize, VF1 sampleMaker) {
^
/root/JavaX-Caches/tmp_1686302998/main.java:3: error: class, interface, or enum expected
loop.start();
^
/root/JavaX-Caches/tmp_1686302998/main.java:4: error: class, interface, or enum expected
ret loop;
^
/root/JavaX-Caches/tmp_1686302998/main.java:5: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1686302998/main.java:9: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1686302998/main.java:13: error: class, interface, or enum expected
new Flag stopFlag;
^
/root/JavaX-Caches/tmp_1686302998/main.java:14: error: class, interface, or enum expected
byte[] buf;
^
/root/JavaX-Caches/tmp_1686302998/main.java:15: error: class, interface, or enum expected
VF1 sampleMaker;
^
/root/JavaX-Caches/tmp_1686302998/main.java:16: error: class, interface, or enum expected
AudioFormat quality = javaSound_cdQuality();
^
/root/JavaX-Caches/tmp_1686302998/main.java:17: error: class, interface, or enum expected
long samplesPlayed;
^
/root/JavaX-Caches/tmp_1686302998/main.java:19: error: class, interface, or enum expected
*(int bufSize, VF1 *sampleMaker) {
^
/root/JavaX-Caches/tmp_1686302998/main.java:21: error: class, interface, or enum expected
buf = new byte[bufSize];
^
/root/JavaX-Caches/tmp_1686302998/main.java:22: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1686302998/main.java:24: error: class, interface, or enum expected
public void start { out.start?; super.start?; }
^
/root/JavaX-Caches/tmp_1686302998/main.java:24: error: illegal character: '\u00b0'
public void start { out.start?; super.start?; }
^
/root/JavaX-Caches/tmp_1686302998/main.java:24: error: class, interface, or enum expected
public void start { out.start?; super.start?; }
^
/root/JavaX-Caches/tmp_1686302998/main.java:24: error: illegal character: '\u00b0'
public void start { out.start?; super.start?; }
^
/root/JavaX-Caches/tmp_1686302998/main.java:24: error: class, interface, or enum expected
public void start { out.start?; super.start?; }
^
/root/JavaX-Caches/tmp_1686302998/main.java:27: error: class, interface, or enum expected
stopFlag.raise?; out.close?;
^
/root/JavaX-Caches/tmp_1686302998/main.java:27: error: illegal character: '\u00b0'
stopFlag.raise?; out.close?;
^
/root/JavaX-Caches/tmp_1686302998/main.java:27: error: class, interface, or enum expected
stopFlag.raise?; out.close?;
^
/root/JavaX-Caches/tmp_1686302998/main.java:27: error: illegal character: '\u00b0'
stopFlag.raise?; out.close?;
^
/root/JavaX-Caches/tmp_1686302998/main.java:28: error: class, interface, or enum expected
print("Audio output loop stopped.");
^
/root/JavaX-Caches/tmp_1686302998/main.java:29: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1686302998/main.java:30: error: class, interface, or enum expected
public void close { stopPlaying(); }
^
/root/JavaX-Caches/tmp_1686302998/main.java:30: error: class, interface, or enum expected
public void close { stopPlaying(); }
^
/root/JavaX-Caches/tmp_1686302998/main.java:32: error: class, interface, or enum expected
public void run? {
^
/root/JavaX-Caches/tmp_1686302998/main.java:32: error: illegal character: '\u00b0'
public void run? {
^
/root/JavaX-Caches/tmp_1686302998/main.java:34: error: class, interface, or enum expected
double[] pair = new double[2];
^
/root/JavaX-Caches/tmp_1686302998/main.java:35: error: class, interface, or enum expected
while (licensed() && !stopFlag.isUp()) {
^
/root/JavaX-Caches/tmp_1686302998/main.java:36: error: class, interface, or enum expected
for (int i = 0; i < l(buf); i += 4) {
^
/root/JavaX-Caches/tmp_1686302998/main.java:36: error: class, interface, or enum expected
for (int i = 0; i < l(buf); i += 4) {
^
/root/JavaX-Caches/tmp_1686302998/main.java:38: error: class, interface, or enum expected
short l = clipShort(pair[0]);
^
/root/JavaX-Caches/tmp_1686302998/main.java:39: error: class, interface, or enum expected
short r = clipShort(pair[1]);
^
/root/JavaX-Caches/tmp_1686302998/main.java:40: error: class, interface, or enum expected
buf[i] = (byte) l;
^
/root/JavaX-Caches/tmp_1686302998/main.java:41: error: class, interface, or enum expected
buf[i+1] = (byte) (l >> 8);
^
/root/JavaX-Caches/tmp_1686302998/main.java:42: error: class, interface, or enum expected
buf[i+2] = (byte) r;
^
/root/JavaX-Caches/tmp_1686302998/main.java:43: error: class, interface, or enum expected
buf[i+3] = (byte) (r >> 8);
^
/root/JavaX-Caches/tmp_1686302998/main.java:44: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1686302998/main.java:48: error: class, interface, or enum expected
samplesPlayed += n;
^
/root/JavaX-Caches/tmp_1686302998/main.java:49: error: class, interface, or enum expected
if (n != l(buf)) ret with print("huh: " + n + " of " + l(buf));
^
/root/JavaX-Caches/tmp_1686302998/main.java:50: error: class, interface, or enum expected
}
^
42 errors