/* * Decompiled with CFR 0.152. * * Could not load the following classes: * sun.audio.AudioPlayer */ import java.io.InputStream; import sun.audio.AudioPlayer; public class d extends InputStream { byte[] a; int b; int c; public d() { AudioPlayer.player.start((InputStream)this); } public void a() { AudioPlayer.player.stop((InputStream)this); } public void a(byte[] byArray, int n2, int n3) { this.a = byArray; this.b = n2; this.c = n2 + n3; } public int read(byte[] byArray, int n2, int n3) { int n4; block3: { boolean bl = q.d; boolean bl2 = false; for (int i2 = 0; i2 < n3; ++i2) { n4 = this.b; if (!bl) { if (n4 < this.c) { byArray[n2 + i2] = this.a[this.b++]; if (!bl) continue; } byArray[n2 + i2] = -1; if (!bl) continue; } break block3; } n4 = n3; } return n4; } public int read() { byte[] byArray = new byte[1]; this.read(byArray, 0, 1); return byArray[0]; } }