final class com.sun.media.sound.DirectAudioDevice extends com.sun.media.sound.AbstractMixer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.DirectAudioDevice
super_class: com.sun.media.sound.AbstractMixer
{
private static final int CLIP_BUFFER_TIME;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1000
private static final int DEFAULT_LINE_BUFFER_TIME;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 500
void <init>(com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo);
descriptor: (Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;)V
flags: (0x0000)
Code:
stack=9, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
1: aconst_null
2: aconst_null
3: aconst_null
invokespecial com.sun.media.sound.AbstractMixer.<init>:(Ljavax/sound/sampled/Mixer$Info;[Ljavax/sound/sampled/Control;[Ljavax/sound/sampled/Line$Info;[Ljavax/sound/sampled/Line$Info;)V
4: aload 0
iconst_1
invokevirtual com.sun.media.sound.DirectAudioDevice.createDataLineInfo:(Z)Lcom/sun/media/sound/DirectAudioDevice$DirectDLI;
astore 2
start local 2 5: aload 2
ifnull 14
6: aload 0
iconst_2
anewarray javax.sound.sampled.Line$Info
putfield com.sun.media.sound.DirectAudioDevice.sourceLineInfo:[Ljavax/sound/sampled/Line$Info;
7: aload 0
getfield com.sun.media.sound.DirectAudioDevice.sourceLineInfo:[Ljavax/sound/sampled/Line$Info;
iconst_0
aload 2
aastore
8: aload 0
getfield com.sun.media.sound.DirectAudioDevice.sourceLineInfo:[Ljavax/sound/sampled/Line$Info;
iconst_1
new com.sun.media.sound.DirectAudioDevice$DirectDLI
dup
ldc Ljavax/sound/sampled/Clip;
aload 2
invokevirtual com.sun.media.sound.DirectAudioDevice$DirectDLI.getFormats:()[Ljavax/sound/sampled/AudioFormat;
9: aload 2
invokevirtual com.sun.media.sound.DirectAudioDevice$DirectDLI.getHardwareFormats:()[Ljavax/sound/sampled/AudioFormat;
10: bipush 32
11: iconst_m1
invokespecial com.sun.media.sound.DirectAudioDevice$DirectDLI.<init>:(Ljava/lang/Class;[Ljavax/sound/sampled/AudioFormat;[Ljavax/sound/sampled/AudioFormat;II)V
12: aastore
13: goto 15
14: StackMap locals: com.sun.media.sound.DirectAudioDevice com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo com.sun.media.sound.DirectAudioDevice$DirectDLI
StackMap stack:
aload 0
iconst_0
anewarray javax.sound.sampled.Line$Info
putfield com.sun.media.sound.DirectAudioDevice.sourceLineInfo:[Ljavax/sound/sampled/Line$Info;
15: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual com.sun.media.sound.DirectAudioDevice.createDataLineInfo:(Z)Lcom/sun/media/sound/DirectAudioDevice$DirectDLI;
astore 3
start local 3 16: aload 3
ifnull 20
17: aload 0
iconst_1
anewarray javax.sound.sampled.Line$Info
putfield com.sun.media.sound.DirectAudioDevice.targetLineInfo:[Ljavax/sound/sampled/Line$Info;
18: aload 0
getfield com.sun.media.sound.DirectAudioDevice.targetLineInfo:[Ljavax/sound/sampled/Line$Info;
iconst_0
aload 3
aastore
19: goto 21
20: StackMap locals: javax.sound.sampled.DataLine$Info
StackMap stack:
aload 0
iconst_0
anewarray javax.sound.sampled.Line$Info
putfield com.sun.media.sound.DirectAudioDevice.targetLineInfo:[Ljavax/sound/sampled/Line$Info;
21: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/media/sound/DirectAudioDevice;
0 22 1 portMixerInfo Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
5 22 2 srcLineInfo Lcom/sun/media/sound/DirectAudioDevice$DirectDLI;
16 22 3 dstLineInfo Ljavax/sound/sampled/DataLine$Info;
MethodParameters:
Name Flags
portMixerInfo
private com.sun.media.sound.DirectAudioDevice$DirectDLI createDataLineInfo(boolean);
descriptor: (Z)Lcom/sun/media/sound/DirectAudioDevice$DirectDLI;
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=14, args_size=2
start local 0 start local 1 0: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aload 2
dup
astore 5
monitorenter
4: aload 0
invokevirtual com.sun.media.sound.DirectAudioDevice.getMixerIndex:()I
aload 0
invokevirtual com.sun.media.sound.DirectAudioDevice.getDeviceID:()I
5: iload 1
6: aload 2
7: invokestatic com.sun.media.sound.DirectAudioDevice.nGetFormats:(IIZLjava/util/Vector;)V
8: aload 2
invokevirtual java.util.Vector.size:()I
ifle 64
9: aload 2
invokevirtual java.util.Vector.size:()I
istore 6
start local 6 10: iload 6
istore 7
start local 7 11: iload 6
anewarray javax.sound.sampled.AudioFormat
astore 3
12: iconst_0
istore 8
start local 8 13: goto 22
14: StackMap locals: com.sun.media.sound.DirectAudioDevice int java.util.Vector javax.sound.sampled.AudioFormat[] javax.sound.sampled.AudioFormat[] java.util.Vector int int int
StackMap stack:
aload 2
iload 8
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.sound.sampled.AudioFormat
astore 9
start local 9 15: aload 3
iload 8
aload 9
aastore
16: aload 9
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
pop
17: aload 9
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
istore 10
start local 10 18: aload 9
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
istore 11
start local 11 19: iload 10
ifne 20
iload 11
ifeq 21
20: StackMap locals: javax.sound.sampled.AudioFormat int int
StackMap stack:
iinc 7 1
end local 11 end local 10 end local 9 21: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
22: iload 8
iload 6
if_icmplt 14
end local 8 23: iload 7
anewarray javax.sound.sampled.AudioFormat
astore 4
24: iconst_0
istore 8
start local 8 25: iconst_0
istore 9
start local 9 26: goto 63
27: StackMap locals: int
StackMap stack:
aload 3
iload 9
aaload
astore 10
start local 10 28: aload 4
iload 8
iinc 8 1
aload 10
aastore
29: aload 10
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
istore 11
start local 11 30: aload 10
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
istore 12
start local 12 31: aload 10
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
istore 13
start local 13 32: iload 11
bipush 8
if_icmpne 51
33: iload 12
ifeq 42
34: aload 4
iload 8
iinc 8 1
35: new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
36: aload 10
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
iload 11
aload 10
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
37: aload 10
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
aload 10
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
38: aload 10
invokevirtual javax.sound.sampled.AudioFormat.isBigEndian:()Z
39: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
40: aastore
41: goto 62
42: StackMap locals: com.sun.media.sound.DirectAudioDevice int java.util.Vector javax.sound.sampled.AudioFormat[] javax.sound.sampled.AudioFormat[] java.util.Vector int int int int javax.sound.sampled.AudioFormat int int int
StackMap stack:
iload 13
ifeq 62
43: aload 4
iload 8
iinc 8 1
44: new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
45: aload 10
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
iload 11
aload 10
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
46: aload 10
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
aload 10
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
47: aload 10
invokevirtual javax.sound.sampled.AudioFormat.isBigEndian:()Z
48: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
49: aastore
50: goto 62
StackMap locals:
StackMap stack:
51: iload 11
bipush 8
if_icmple 62
iload 12
ifne 52
iload 13
ifeq 62
52: StackMap locals:
StackMap stack:
aload 4
iload 8
iinc 8 1
53: new javax.sound.sampled.AudioFormat
dup
aload 10
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
54: aload 10
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
iload 11
55: aload 10
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
56: aload 10
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
57: aload 10
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
58: aload 10
invokevirtual javax.sound.sampled.AudioFormat.isBigEndian:()Z
ifeq 59
iconst_0
goto 60
StackMap locals: com.sun.media.sound.DirectAudioDevice int java.util.Vector javax.sound.sampled.AudioFormat[] javax.sound.sampled.AudioFormat[] java.util.Vector int int int int javax.sound.sampled.AudioFormat int int int
StackMap stack: javax.sound.sampled.AudioFormat[] int new 53 new 53 javax.sound.sampled.AudioFormat$Encoding float int int int float
59: iconst_1
60: StackMap locals: com.sun.media.sound.DirectAudioDevice int java.util.Vector javax.sound.sampled.AudioFormat[] javax.sound.sampled.AudioFormat[] java.util.Vector int int int int javax.sound.sampled.AudioFormat int int int
StackMap stack: javax.sound.sampled.AudioFormat[] int new 53 new 53 javax.sound.sampled.AudioFormat$Encoding float int int int float int
invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
61: aastore
end local 13 end local 12 end local 11 end local 10 62: StackMap locals: com.sun.media.sound.DirectAudioDevice int java.util.Vector javax.sound.sampled.AudioFormat[] javax.sound.sampled.AudioFormat[] java.util.Vector int int int int
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
63: iload 9
iload 6
if_icmplt 27
end local 9 end local 8 end local 7 end local 6 64: StackMap locals: com.sun.media.sound.DirectAudioDevice int java.util.Vector javax.sound.sampled.AudioFormat[] javax.sound.sampled.AudioFormat[] java.util.Vector
StackMap stack:
aload 5
monitorexit
65: goto 68
StackMap locals:
StackMap stack: java.lang.Throwable
66: aload 5
monitorexit
67: athrow
68: StackMap locals:
StackMap stack:
aload 4
ifnull 75
69: new com.sun.media.sound.DirectAudioDevice$DirectDLI
dup
iload 1
ifeq 70
ldc Ljavax/sound/sampled/SourceDataLine;
goto 71
StackMap locals: com.sun.media.sound.DirectAudioDevice int java.util.Vector javax.sound.sampled.AudioFormat[] javax.sound.sampled.AudioFormat[]
StackMap stack: new 69 new 69
70: ldc Ljavax/sound/sampled/TargetDataLine;
71: StackMap locals: com.sun.media.sound.DirectAudioDevice int java.util.Vector javax.sound.sampled.AudioFormat[] javax.sound.sampled.AudioFormat[]
StackMap stack: new 69 new 69 java.lang.Class
aload 4
aload 3
72: bipush 32
73: iconst_m1
74: invokespecial com.sun.media.sound.DirectAudioDevice$DirectDLI.<init>:(Ljava/lang/Class;[Ljavax/sound/sampled/AudioFormat;[Ljavax/sound/sampled/AudioFormat;II)V
areturn
75: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 76 0 this Lcom/sun/media/sound/DirectAudioDevice;
0 76 1 isSource Z
1 76 2 formats Ljava/util/Vector<Ljavax/sound/sampled/AudioFormat;>;
2 76 3 hardwareFormatArray [Ljavax/sound/sampled/AudioFormat;
3 76 4 formatArray [Ljavax/sound/sampled/AudioFormat;
10 64 6 size I
11 64 7 formatArraySize I
13 23 8 i I
15 21 9 format Ljavax/sound/sampled/AudioFormat;
18 21 10 isSigned Z
19 21 11 isUnsigned Z
25 64 8 formatArrayIndex I
26 64 9 i I
28 62 10 format Ljavax/sound/sampled/AudioFormat;
30 62 11 bits I
31 62 12 isSigned Z
32 62 13 isUnsigned Z
Exception table:
from to target type
4 65 66 any
66 67 66 any
MethodParameters:
Name Flags
isSource
public javax.sound.sampled.Line getLine(javax.sound.sampled.Line$Info);
descriptor: (Ljavax/sound/sampled/Line$Info;)Ljavax/sound/sampled/Line;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.media.sound.DirectAudioDevice.getLineInfo:(Ljavax/sound/sampled/Line$Info;)Ljavax/sound/sampled/Line$Info;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Line unsupported: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.sound.sampled.Line$Info
StackMap stack:
aload 2
instanceof javax.sound.sampled.DataLine$Info
ifeq 22
4: aload 2
checkcast javax.sound.sampled.DataLine$Info
astore 3
start local 3 5: iconst_m1
istore 5
start local 5 6: aconst_null
astore 6
start local 6 7: aload 1
instanceof javax.sound.sampled.DataLine$Info
ifeq 10
8: aload 1
checkcast javax.sound.sampled.DataLine$Info
invokevirtual javax.sound.sampled.DataLine$Info.getFormats:()[Ljavax/sound/sampled/AudioFormat;
astore 6
9: aload 1
checkcast javax.sound.sampled.DataLine$Info
invokevirtual javax.sound.sampled.DataLine$Info.getMaxBufferSize:()I
istore 5
10: StackMap locals: com.sun.media.sound.DirectAudioDevice javax.sound.sampled.Line$Info javax.sound.sampled.Line$Info javax.sound.sampled.DataLine$Info top int javax.sound.sampled.AudioFormat[]
StackMap stack:
aload 6
ifnull 11
aload 6
arraylength
ifne 13
11: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 12: goto 16
end local 4 13: StackMap locals:
StackMap stack:
aload 6
aload 6
arraylength
iconst_1
isub
aaload
astore 4
start local 4 14: aload 4
invokestatic com.sun.media.sound.Toolkit.isFullySpecifiedPCMFormat:(Ljavax/sound/sampled/AudioFormat;)Z
ifne 16
15: aconst_null
astore 4
16: StackMap locals: com.sun.media.sound.DirectAudioDevice javax.sound.sampled.Line$Info javax.sound.sampled.Line$Info javax.sound.sampled.DataLine$Info javax.sound.sampled.AudioFormat int javax.sound.sampled.AudioFormat[]
StackMap stack:
aload 3
invokevirtual javax.sound.sampled.DataLine$Info.getLineClass:()Ljava/lang/Class;
ldc Lcom/sun/media/sound/DirectAudioDevice$DirectSDL;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 18
17: new com.sun.media.sound.DirectAudioDevice$DirectSDL
dup
aload 3
aload 4
iload 5
aload 0
invokespecial com.sun.media.sound.DirectAudioDevice$DirectSDL.<init>:(Ljavax/sound/sampled/DataLine$Info;Ljavax/sound/sampled/AudioFormat;ILcom/sun/media/sound/DirectAudioDevice;)V
areturn
18: StackMap locals:
StackMap stack:
aload 3
invokevirtual javax.sound.sampled.DataLine$Info.getLineClass:()Ljava/lang/Class;
ldc Lcom/sun/media/sound/DirectAudioDevice$DirectClip;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 20
19: new com.sun.media.sound.DirectAudioDevice$DirectClip
dup
aload 3
aload 4
iload 5
aload 0
invokespecial com.sun.media.sound.DirectAudioDevice$DirectClip.<init>:(Ljavax/sound/sampled/DataLine$Info;Ljavax/sound/sampled/AudioFormat;ILcom/sun/media/sound/DirectAudioDevice;)V
areturn
20: StackMap locals:
StackMap stack:
aload 3
invokevirtual javax.sound.sampled.DataLine$Info.getLineClass:()Ljava/lang/Class;
ldc Lcom/sun/media/sound/DirectAudioDevice$DirectTDL;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 22
21: new com.sun.media.sound.DirectAudioDevice$DirectTDL
dup
aload 3
aload 4
iload 5
aload 0
invokespecial com.sun.media.sound.DirectAudioDevice$DirectTDL.<init>:(Ljavax/sound/sampled/DataLine$Info;Ljavax/sound/sampled/AudioFormat;ILcom/sun/media/sound/DirectAudioDevice;)V
areturn
end local 6 end local 5 end local 4 end local 3 22: StackMap locals: com.sun.media.sound.DirectAudioDevice javax.sound.sampled.Line$Info javax.sound.sampled.Line$Info
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Line unsupported: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/media/sound/DirectAudioDevice;
0 23 1 info Ljavax/sound/sampled/Line$Info;
1 23 2 fullInfo Ljavax/sound/sampled/Line$Info;
5 22 3 dataLineInfo Ljavax/sound/sampled/DataLine$Info;
12 13 4 lineFormat Ljavax/sound/sampled/AudioFormat;
14 22 4 lineFormat Ljavax/sound/sampled/AudioFormat;
6 22 5 lineBufferSize I
7 22 6 supportedFormats [Ljavax/sound/sampled/AudioFormat;
Exceptions:
throws javax.sound.sampled.LineUnavailableException
MethodParameters:
Name Flags
info
public int getMaxLines(javax.sound.sampled.Line$Info);
descriptor: (Ljavax/sound/sampled/Line$Info;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.media.sound.DirectAudioDevice.getLineInfo:(Ljavax/sound/sampled/Line$Info;)Ljavax/sound/sampled/Line$Info;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: javax.sound.sampled.Line$Info
StackMap stack:
aload 2
instanceof javax.sound.sampled.DataLine$Info
ifeq 5
4: aload 0
invokevirtual com.sun.media.sound.DirectAudioDevice.getMaxSimulLines:()I
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/media/sound/DirectAudioDevice;
0 6 1 info Ljavax/sound/sampled/Line$Info;
1 6 2 fullInfo Ljavax/sound/sampled/Line$Info;
MethodParameters:
Name Flags
info
protected void implOpen();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/DirectAudioDevice;
Exceptions:
throws javax.sound.sampled.LineUnavailableException
protected void implClose();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/DirectAudioDevice;
protected void implStart();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/DirectAudioDevice;
protected void implStop();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/DirectAudioDevice;
int getMixerIndex();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.DirectAudioDevice.getMixerInfo:()Ljavax/sound/sampled/Mixer$Info;
checkcast com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo
invokevirtual com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo.getIndex:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/DirectAudioDevice;
int getDeviceID();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.DirectAudioDevice.getMixerInfo:()Ljavax/sound/sampled/Mixer$Info;
checkcast com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo
invokevirtual com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo.getDeviceID:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/DirectAudioDevice;
int getMaxSimulLines();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.DirectAudioDevice.getMixerInfo:()Ljavax/sound/sampled/Mixer$Info;
checkcast com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo
invokevirtual com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo.getMaxSimulLines:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/DirectAudioDevice;
private static void addFormat(java.util.Vector<javax.sound.sampled.AudioFormat>, int, int, int, float, int, boolean, );
descriptor: (Ljava/util/Vector;IIIFIZZ)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aconst_null
astore 8
start local 8 1: iload 5
tableswitch { // 0 - 2
0: 2
1: 6
2: 11
default: 15
}
2: StackMap locals: javax.sound.sampled.AudioFormat$Encoding
StackMap stack:
iload 6
ifeq 3
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
goto 4
StackMap locals:
StackMap stack:
3: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
StackMap locals:
StackMap stack: javax.sound.sampled.AudioFormat$Encoding
4: astore 8
5: goto 15
6: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.ULAW:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 8
7: iload 1
bipush 8
if_icmpeq 15
8: getstatic com.sun.media.sound.Printer.err:Z
ifeq 9
new java.lang.StringBuilder
dup
ldc "DirectAudioDevice.addFormat called with ULAW, but bitsPerSample="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.media.sound.Printer.err:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
bipush 8
istore 1
iload 3
istore 2
10: goto 15
11: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 8
12: iload 1
bipush 8
if_icmpeq 15
13: getstatic com.sun.media.sound.Printer.err:Z
ifeq 14
new java.lang.StringBuilder
dup
ldc "DirectAudioDevice.addFormat called with ALAW, but bitsPerSample="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.media.sound.Printer.err:(Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
bipush 8
istore 1
iload 3
istore 2
15: StackMap locals:
StackMap stack:
aload 8
ifnonnull 18
16: getstatic com.sun.media.sound.Printer.err:Z
ifeq 17
new java.lang.StringBuilder
dup
ldc "DirectAudioDevice.addFormat called with unknown encoding: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.media.sound.Printer.err:(Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
return
18: StackMap locals:
StackMap stack:
iload 2
ifgt 23
19: iload 3
ifle 22
20: iload 1
bipush 7
iadd
bipush 8
idiv
iload 3
imul
istore 2
21: goto 23
22: StackMap locals:
StackMap stack:
iconst_m1
istore 2
23: StackMap locals:
StackMap stack:
aload 0
new javax.sound.sampled.AudioFormat
dup
aload 8
fload 4
iload 1
iload 3
iload 2
fload 4
iload 7
invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
24: return
end local 8 end local 7 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 25 0 v Ljava/util/Vector<Ljavax/sound/sampled/AudioFormat;>;
0 25 1 bits I
0 25 2 frameSizeInBytes I
0 25 3 channels I
0 25 4 sampleRate F
0 25 5 encoding I
0 25 6 signed Z
0 25 7 bigEndian Z
1 25 8 enc Ljavax/sound/sampled/AudioFormat$Encoding;
Signature: (Ljava/util/Vector<Ljavax/sound/sampled/AudioFormat;>;IIIFIZZ)V
MethodParameters:
Name Flags
v
bits
frameSizeInBytes
channels
sampleRate
encoding
signed
bigEndian
protected static javax.sound.sampled.AudioFormat getSignOrEndianChangedFormat(javax.sound.sampled.AudioFormat);
descriptor: (Ljavax/sound/sampled/AudioFormat;)Ljavax/sound/sampled/AudioFormat;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=9, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
istore 1
start local 1 1: aload 0
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
istore 2
start local 2 2: aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
bipush 8
if_icmple 8
iload 1
ifeq 8
3: new javax.sound.sampled.AudioFormat
dup
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
4: aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
5: aload 0
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
aload 0
invokevirtual javax.sound.sampled.AudioFormat.isBigEndian:()Z
ifeq 6
iconst_0
goto 7
StackMap locals: javax.sound.sampled.AudioFormat int int
StackMap stack: new 3 new 3 javax.sound.sampled.AudioFormat$Encoding float int int int float
6: iconst_1
7: StackMap locals: javax.sound.sampled.AudioFormat int int
StackMap stack: new 3 new 3 javax.sound.sampled.AudioFormat$Encoding float int int int float int
invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
bipush 8
if_icmpne 14
iload 1
ifne 9
iload 2
ifeq 14
9: StackMap locals:
StackMap stack:
new javax.sound.sampled.AudioFormat
dup
iload 1
ifeq 10
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
goto 11
StackMap locals: javax.sound.sampled.AudioFormat int int
StackMap stack: new 9 new 9
10: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
11: StackMap locals: javax.sound.sampled.AudioFormat int int
StackMap stack: new 9 new 9 javax.sound.sampled.AudioFormat$Encoding
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
12: aload 0
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
aload 0
invokevirtual javax.sound.sampled.AudioFormat.isBigEndian:()Z
13: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
areturn
14: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 format Ljavax/sound/sampled/AudioFormat;
1 15 1 isSigned Z
2 15 2 isUnsigned Z
MethodParameters:
Name Flags
format
private static native void nGetFormats(int, int, boolean, java.util.Vector);
descriptor: (IIZLjava/util/Vector;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
mixerIndex
deviceID
isSource
formats
private static native long nOpen(int, int, boolean, int, float, int, int, int, boolean, boolean, int);
descriptor: (IIZIFIIIZZI)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws javax.sound.sampled.LineUnavailableException
MethodParameters:
Name Flags
mixerIndex
deviceID
isSource
encoding
sampleRate
sampleSizeInBits
frameSize
channels
signed
bigEndian
bufferSize
private static native void nStart(long, boolean);
descriptor: (JZ)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
id
isSource
private static native void nStop(long, boolean);
descriptor: (JZ)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
id
isSource
private static native void nClose(long, boolean);
descriptor: (JZ)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
id
isSource
private static native int nWrite(long, byte[], int, int, int, float, float);
descriptor: (J[BIIIFF)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
id
b
off
len
conversionSize
volLeft
volRight
private static native int nRead(long, byte[], int, int, int);
descriptor: (J[BIII)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
id
b
off
len
conversionSize
private static native int nGetBufferSize(long, boolean);
descriptor: (JZ)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
id
isSource
private static native boolean nIsStillDraining(long, boolean);
descriptor: (JZ)Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
id
isSource
private static native void nFlush(long, boolean);
descriptor: (JZ)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
id
isSource
private static native int nAvailable(long, boolean);
descriptor: (JZ)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
id
isSource
private static native long nGetBytePosition(long, boolean, long);
descriptor: (JZJ)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
id
isSource
javaPos
private static native void nSetBytePosition(long, boolean, long);
descriptor: (JZJ)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
id
isSource
pos
private static native boolean nRequiresServicing(long, boolean);
descriptor: (JZ)Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
id
isSource
private static native void nService(long, boolean);
descriptor: (JZ)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
id
isSource
}
SourceFile: "DirectAudioDevice.java"
NestMembers:
com.sun.media.sound.DirectAudioDevice$DirectBAOS com.sun.media.sound.DirectAudioDevice$DirectClip com.sun.media.sound.DirectAudioDevice$DirectDL com.sun.media.sound.DirectAudioDevice$DirectDL$Balance com.sun.media.sound.DirectAudioDevice$DirectDL$Gain com.sun.media.sound.DirectAudioDevice$DirectDL$Mute com.sun.media.sound.DirectAudioDevice$DirectDL$Pan com.sun.media.sound.DirectAudioDevice$DirectDLI com.sun.media.sound.DirectAudioDevice$DirectSDL com.sun.media.sound.DirectAudioDevice$DirectTDL
InnerClasses:
private DirectBAOS = com.sun.media.sound.DirectAudioDevice$DirectBAOS of com.sun.media.sound.DirectAudioDevice
private final DirectClip = com.sun.media.sound.DirectAudioDevice$DirectClip of com.sun.media.sound.DirectAudioDevice
private DirectDL = com.sun.media.sound.DirectAudioDevice$DirectDL of com.sun.media.sound.DirectAudioDevice
private final DirectDLI = com.sun.media.sound.DirectAudioDevice$DirectDLI of com.sun.media.sound.DirectAudioDevice
private final DirectSDL = com.sun.media.sound.DirectAudioDevice$DirectSDL of com.sun.media.sound.DirectAudioDevice
private final DirectTDL = com.sun.media.sound.DirectAudioDevice$DirectTDL of com.sun.media.sound.DirectAudioDevice
final DirectAudioDeviceInfo = com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo of com.sun.media.sound.DirectAudioDeviceProvider
public Encoding = javax.sound.sampled.AudioFormat$Encoding of javax.sound.sampled.AudioFormat
public Info = javax.sound.sampled.DataLine$Info of javax.sound.sampled.DataLine
public Info = javax.sound.sampled.Line$Info of javax.sound.sampled.Line
public Info = javax.sound.sampled.Mixer$Info of javax.sound.sampled.Mixer