public final class sun.audio.AudioData
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.audio.AudioData
super_class: java.lang.Object
{
private static final javax.sound.sampled.AudioFormat DEFAULT_FORMAT;
descriptor: Ljavax/sound/sampled/AudioFormat;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
javax.sound.sampled.AudioFormat format;
descriptor: Ljavax/sound/sampled/AudioFormat;
flags: (0x0000)
byte[] buffer;
descriptor: [B
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=9, locals=0, args_size=0
0: new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.ULAW:Ljavax/sound/sampled/AudioFormat$Encoding;
1: ldc 8000.0
2: bipush 8
3: iconst_1
4: iconst_1
5: ldc 8000.0
6: iconst_1
7: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
8: putstatic sun.audio.AudioData.DEFAULT_FORMAT:Ljavax/sound/sampled/AudioFormat;
9: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.audio.AudioData.buffer:[B
2: aload 0
getstatic sun.audio.AudioData.DEFAULT_FORMAT:Ljavax/sound/sampled/AudioFormat;
putfield sun.audio.AudioData.format:Ljavax/sound/sampled/AudioFormat;
3: new java.io.ByteArrayInputStream
dup
aload 1
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
invokestatic javax.sound.sampled.AudioSystem.getAudioInputStream:(Ljava/io/InputStream;)Ljavax/sound/sampled/AudioInputStream;
astore 2
start local 2 4: aload 0
aload 2
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
putfield sun.audio.AudioData.format:Ljavax/sound/sampled/AudioFormat;
5: aload 2
invokevirtual javax.sound.sampled.AudioInputStream.close:()V
end local 2 6: goto 9
StackMap locals: sun.audio.AudioData byte[]
StackMap stack: java.io.IOException
7: pop
goto 9
8: StackMap locals:
StackMap stack: javax.sound.sampled.UnsupportedAudioFileException
pop
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/audio/AudioData;
0 10 1 buffer [B
4 6 2 ais Ljavax/sound/sampled/AudioInputStream;
Exception table:
from to target type
3 6 7 Class java.io.IOException
3 6 8 Class javax.sound.sampled.UnsupportedAudioFileException
MethodParameters:
Name Flags
buffer
void <init>(javax.sound.sampled.AudioFormat, byte[]);
descriptor: (Ljavax/sound/sampled/AudioFormat;[B)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.audio.AudioData.format:Ljavax/sound/sampled/AudioFormat;
2: aload 0
aload 2
putfield sun.audio.AudioData.buffer:[B
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/audio/AudioData;
0 4 1 format Ljavax/sound/sampled/AudioFormat;
0 4 2 buffer [B
MethodParameters:
Name Flags
format
buffer
}
SourceFile: "AudioData.java"
InnerClasses:
public Encoding = javax.sound.sampled.AudioFormat$Encoding of javax.sound.sampled.AudioFormat