public class javax.sound.sampled.AudioInputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.sound.sampled.AudioInputStream
super_class: java.io.InputStream
{
private java.io.InputStream stream;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
protected javax.sound.sampled.AudioFormat format;
descriptor: Ljavax/sound/sampled/AudioFormat;
flags: (0x0004) ACC_PROTECTED
protected long frameLength;
descriptor: J
flags: (0x0004) ACC_PROTECTED
protected int frameSize;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected long framePos;
descriptor: J
flags: (0x0004) ACC_PROTECTED
private long markpos;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private byte[] pushBackBuffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int pushBackLen;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private byte[] markPushBackBuffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int markPushBackLen;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.io.InputStream, javax.sound.sampled.AudioFormat, long);
descriptor: (Ljava/io/InputStream;Ljavax/sound/sampled/AudioFormat;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
aconst_null
putfield javax.sound.sampled.AudioInputStream.pushBackBuffer:[B
2: aload 0
iconst_0
putfield javax.sound.sampled.AudioInputStream.pushBackLen:I
3: aload 0
aconst_null
putfield javax.sound.sampled.AudioInputStream.markPushBackBuffer:[B
4: aload 0
iconst_0
putfield javax.sound.sampled.AudioInputStream.markPushBackLen:I
5: aload 0
aload 2
putfield javax.sound.sampled.AudioInputStream.format:Ljavax/sound/sampled/AudioFormat;
6: aload 0
lload 3
putfield javax.sound.sampled.AudioInputStream.frameLength:J
7: aload 0
aload 2
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
putfield javax.sound.sampled.AudioInputStream.frameSize:I
8: aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
iconst_m1
if_icmpeq 9
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
ifgt 10
9: StackMap locals: javax.sound.sampled.AudioInputStream java.io.InputStream javax.sound.sampled.AudioFormat long
StackMap stack:
aload 0
iconst_1
putfield javax.sound.sampled.AudioInputStream.frameSize:I
10: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.sound.sampled.AudioInputStream.stream:Ljava/io/InputStream;
11: aload 0
lconst_0
putfield javax.sound.sampled.AudioInputStream.framePos:J
12: aload 0
lconst_0
putfield javax.sound.sampled.AudioInputStream.markpos:J
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/sound/sampled/AudioInputStream;
0 14 1 stream Ljava/io/InputStream;
0 14 2 format Ljavax/sound/sampled/AudioFormat;
0 14 3 length J
MethodParameters:
Name Flags
stream
format
length
public void <init>(javax.sound.sampled.TargetDataLine);
descriptor: (Ljavax/sound/sampled/TargetDataLine;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
aconst_null
putfield javax.sound.sampled.AudioInputStream.pushBackBuffer:[B
2: aload 0
iconst_0
putfield javax.sound.sampled.AudioInputStream.pushBackLen:I
3: aload 0
aconst_null
putfield javax.sound.sampled.AudioInputStream.markPushBackBuffer:[B
4: aload 0
iconst_0
putfield javax.sound.sampled.AudioInputStream.markPushBackLen:I
5: new javax.sound.sampled.AudioInputStream$TargetDataLineInputStream
dup
aload 0
aload 1
invokespecial javax.sound.sampled.AudioInputStream$TargetDataLineInputStream.<init>:(Ljavax/sound/sampled/AudioInputStream;Ljavax/sound/sampled/TargetDataLine;)V
astore 2
start local 2 6: aload 0
aload 1
invokeinterface javax.sound.sampled.TargetDataLine.getFormat:()Ljavax/sound/sampled/AudioFormat;
putfield javax.sound.sampled.AudioInputStream.format:Ljavax/sound/sampled/AudioFormat;
7: aload 0
ldc -1
putfield javax.sound.sampled.AudioInputStream.frameLength:J
8: aload 0
aload 0
getfield javax.sound.sampled.AudioInputStream.format:Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
putfield javax.sound.sampled.AudioInputStream.frameSize:I
9: aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
iconst_m1
if_icmpeq 10
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
ifgt 11
10: StackMap locals: javax.sound.sampled.AudioInputStream javax.sound.sampled.TargetDataLine javax.sound.sampled.AudioInputStream$TargetDataLineInputStream
StackMap stack:
aload 0
iconst_1
putfield javax.sound.sampled.AudioInputStream.frameSize:I
11: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield javax.sound.sampled.AudioInputStream.stream:Ljava/io/InputStream;
12: aload 0
lconst_0
putfield javax.sound.sampled.AudioInputStream.framePos:J
13: aload 0
lconst_0
putfield javax.sound.sampled.AudioInputStream.markpos:J
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/sound/sampled/AudioInputStream;
0 15 1 line Ljavax/sound/sampled/TargetDataLine;
6 15 2 tstream Ljavax/sound/sampled/AudioInputStream$TargetDataLineInputStream;
MethodParameters:
Name Flags
line
public javax.sound.sampled.AudioFormat getFormat();
descriptor: ()Ljavax/sound/sampled/AudioFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.AudioInputStream.format:Ljavax/sound/sampled/AudioFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/sampled/AudioInputStream;
public long getFrameLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.AudioInputStream.frameLength:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/sampled/AudioInputStream;
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
iconst_1
if_icmpeq 2
1: new java.io.IOException
dup
ldc "cannot read a single byte if frame size > 1"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iconst_1
newarray 8
astore 1
start local 1 3: aload 0
aload 1
invokevirtual javax.sound.sampled.AudioInputStream.read:([B)I
istore 2
start local 2 4: iload 2
ifgt 6
5: iconst_m1
ireturn
6: StackMap locals: byte[] int
StackMap stack:
aload 1
iconst_0
baload
sipush 255
iand
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/sound/sampled/AudioInputStream;
3 7 1 data [B
4 7 2 temp I
Exceptions:
throws java.io.IOException
public int read(byte[]);
descriptor: ([B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual javax.sound.sampled.AudioInputStream.read:([BII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/sampled/AudioInputStream;
0 1 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
irem
ifeq 4
1: iload 3
iload 3
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
irem
isub
istore 3
2: iload 3
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.sound.sampled.AudioInputStream.frameLength:J
ldc -1
lcmp
ifeq 9
5: aload 0
getfield javax.sound.sampled.AudioInputStream.framePos:J
aload 0
getfield javax.sound.sampled.AudioInputStream.frameLength:J
lcmp
iflt 7
6: iconst_m1
ireturn
7: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
idiv
i2l
aload 0
getfield javax.sound.sampled.AudioInputStream.frameLength:J
aload 0
getfield javax.sound.sampled.AudioInputStream.framePos:J
lsub
lcmp
ifle 9
8: aload 0
getfield javax.sound.sampled.AudioInputStream.frameLength:J
aload 0
getfield javax.sound.sampled.AudioInputStream.framePos:J
lsub
l2i
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
imul
istore 3
9: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 10: iload 2
istore 5
start local 5 11: aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackLen:I
ifle 19
iload 3
aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackLen:I
if_icmplt 19
12: aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackBuffer:[B
iconst_0
13: aload 1
iload 2
aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackLen:I
14: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
15: iload 5
aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackLen:I
iadd
istore 5
16: iload 3
aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackLen:I
isub
istore 3
17: iload 4
aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackLen:I
iadd
istore 4
18: aload 0
iconst_0
putfield javax.sound.sampled.AudioInputStream.pushBackLen:I
19: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.sound.sampled.AudioInputStream.stream:Ljava/io/InputStream;
aload 1
iload 5
iload 3
invokevirtual java.io.InputStream.read:([BII)I
istore 6
start local 6 20: iload 6
iconst_m1
if_icmpne 22
21: iconst_m1
ireturn
22: StackMap locals: int
StackMap stack:
iload 6
ifle 24
23: iload 4
iload 6
iadd
istore 4
24: StackMap locals:
StackMap stack:
iload 4
ifle 34
25: aload 0
iload 4
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
irem
putfield javax.sound.sampled.AudioInputStream.pushBackLen:I
26: aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackLen:I
ifle 33
27: aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackBuffer:[B
ifnonnull 29
28: aload 0
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
newarray 8
putfield javax.sound.sampled.AudioInputStream.pushBackBuffer:[B
29: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 4
iadd
aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackLen:I
isub
30: aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackBuffer:[B
iconst_0
aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackLen:I
31: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
32: iload 4
aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackLen:I
isub
istore 4
33: StackMap locals:
StackMap stack:
aload 0
dup
getfield javax.sound.sampled.AudioInputStream.framePos:J
iload 4
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
idiv
i2l
ladd
putfield javax.sound.sampled.AudioInputStream.framePos:J
34: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Ljavax/sound/sampled/AudioInputStream;
0 35 1 b [B
0 35 2 off I
0 35 3 len I
10 35 4 bytesRead I
11 35 5 thisOff I
20 35 6 thisBytesRead I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
i2l
lrem
lconst_0
lcmp
ifeq 2
1: lload 1
lload 1
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
i2l
lrem
lsub
lstore 1
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.sound.sampled.AudioInputStream.frameLength:J
ldc -1
lcmp
ifeq 5
3: lload 1
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
i2l
ldiv
aload 0
getfield javax.sound.sampled.AudioInputStream.frameLength:J
aload 0
getfield javax.sound.sampled.AudioInputStream.framePos:J
lsub
lcmp
ifle 5
4: aload 0
getfield javax.sound.sampled.AudioInputStream.frameLength:J
aload 0
getfield javax.sound.sampled.AudioInputStream.framePos:J
lsub
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
i2l
lmul
lstore 1
5: StackMap locals:
StackMap stack:
aload 0
getfield javax.sound.sampled.AudioInputStream.stream:Ljava/io/InputStream;
lload 1
invokevirtual java.io.InputStream.skip:(J)J
lstore 3
start local 3 6: lload 3
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
i2l
lrem
lconst_0
lcmp
ifeq 8
7: new java.io.IOException
dup
ldc "Could not skip an integer number of frames."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: long
StackMap stack:
lload 3
lconst_0
lcmp
iflt 10
9: aload 0
dup
getfield javax.sound.sampled.AudioInputStream.framePos:J
lload 3
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
i2l
ldiv
ladd
putfield javax.sound.sampled.AudioInputStream.framePos:J
10: StackMap locals:
StackMap stack:
lload 3
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/sound/sampled/AudioInputStream;
0 11 1 n J
6 11 3 temp J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.AudioInputStream.stream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
istore 1
start local 1 1: aload 0
getfield javax.sound.sampled.AudioInputStream.frameLength:J
ldc -1
lcmp
ifeq 3
iload 1
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
idiv
i2l
aload 0
getfield javax.sound.sampled.AudioInputStream.frameLength:J
aload 0
getfield javax.sound.sampled.AudioInputStream.framePos:J
lsub
lcmp
ifle 3
2: aload 0
getfield javax.sound.sampled.AudioInputStream.frameLength:J
aload 0
getfield javax.sound.sampled.AudioInputStream.framePos:J
lsub
l2i
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
imul
ireturn
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/sound/sampled/AudioInputStream;
1 4 1 temp I
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.AudioInputStream.stream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/sound/sampled/AudioInputStream;
Exceptions:
throws java.io.IOException
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.sound.sampled.AudioInputStream.stream:Ljava/io/InputStream;
iload 1
invokevirtual java.io.InputStream.mark:(I)V
1: aload 0
invokevirtual javax.sound.sampled.AudioInputStream.markSupported:()Z
ifeq 8
2: aload 0
aload 0
getfield javax.sound.sampled.AudioInputStream.framePos:J
putfield javax.sound.sampled.AudioInputStream.markpos:J
3: aload 0
aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackLen:I
putfield javax.sound.sampled.AudioInputStream.markPushBackLen:I
4: aload 0
getfield javax.sound.sampled.AudioInputStream.markPushBackLen:I
ifle 8
5: aload 0
getfield javax.sound.sampled.AudioInputStream.markPushBackBuffer:[B
ifnonnull 7
6: aload 0
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
newarray 8
putfield javax.sound.sampled.AudioInputStream.markPushBackBuffer:[B
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackBuffer:[B
iconst_0
aload 0
getfield javax.sound.sampled.AudioInputStream.markPushBackBuffer:[B
iconst_0
aload 0
getfield javax.sound.sampled.AudioInputStream.markPushBackLen:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/sound/sampled/AudioInputStream;
0 9 1 readlimit I
MethodParameters:
Name Flags
readlimit
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.AudioInputStream.stream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.reset:()V
1: aload 0
aload 0
getfield javax.sound.sampled.AudioInputStream.markpos:J
putfield javax.sound.sampled.AudioInputStream.framePos:J
2: aload 0
aload 0
getfield javax.sound.sampled.AudioInputStream.markPushBackLen:I
putfield javax.sound.sampled.AudioInputStream.pushBackLen:I
3: aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackLen:I
ifle 7
4: aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackBuffer:[B
ifnonnull 6
5: aload 0
aload 0
getfield javax.sound.sampled.AudioInputStream.frameSize:I
iconst_1
isub
newarray 8
putfield javax.sound.sampled.AudioInputStream.pushBackBuffer:[B
6: StackMap locals:
StackMap stack:
aload 0
getfield javax.sound.sampled.AudioInputStream.markPushBackBuffer:[B
iconst_0
aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackBuffer:[B
iconst_0
aload 0
getfield javax.sound.sampled.AudioInputStream.pushBackLen:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/sound/sampled/AudioInputStream;
Exceptions:
throws java.io.IOException
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.AudioInputStream.stream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.markSupported:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/sampled/AudioInputStream;
}
SourceFile: "AudioInputStream.java"
NestMembers:
javax.sound.sampled.AudioInputStream$TargetDataLineInputStream
InnerClasses:
private TargetDataLineInputStream = javax.sound.sampled.AudioInputStream$TargetDataLineInputStream of javax.sound.sampled.AudioInputStream