public final class com.sun.media.sound.DirectAudioDeviceProvider extends javax.sound.sampled.spi.MixerProvider
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.DirectAudioDeviceProvider
super_class: javax.sound.sampled.spi.MixerProvider
{
private static com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo[] infos;
descriptor: [Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static com.sun.media.sound.DirectAudioDevice[] devices;
descriptor: [Lcom/sun/media/sound/DirectAudioDevice;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic com.sun.media.sound.Platform.initialize:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial javax.sound.sampled.spi.MixerProvider.<init>:()V
1: ldc Lcom/sun/media/sound/DirectAudioDeviceProvider;
dup
astore 1
monitorenter
2: invokestatic com.sun.media.sound.Platform.isDirectAudioEnabled:()Z
ifeq 5
3: invokestatic com.sun.media.sound.DirectAudioDeviceProvider.init:()V
4: goto 7
5: StackMap locals: com.sun.media.sound.DirectAudioDeviceProvider java.lang.Class
StackMap stack:
iconst_0
anewarray com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo
putstatic com.sun.media.sound.DirectAudioDeviceProvider.infos:[Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
6: iconst_0
anewarray com.sun.media.sound.DirectAudioDevice
putstatic com.sun.media.sound.DirectAudioDeviceProvider.devices:[Lcom/sun/media/sound/DirectAudioDevice;
7: StackMap locals:
StackMap stack:
aload 1
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/media/sound/DirectAudioDeviceProvider;
Exception table:
from to target type
2 8 9 any
9 10 9 any
private static void init();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: invokestatic com.sun.media.sound.DirectAudioDeviceProvider.nGetNumDevices:()I
istore 0
start local 0 1: getstatic com.sun.media.sound.DirectAudioDeviceProvider.infos:[Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
ifnull 2
getstatic com.sun.media.sound.DirectAudioDeviceProvider.infos:[Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
arraylength
iload 0
if_icmpeq 9
2: StackMap locals: int
StackMap stack:
iload 0
anewarray com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo
putstatic com.sun.media.sound.DirectAudioDeviceProvider.infos:[Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
3: iload 0
anewarray com.sun.media.sound.DirectAudioDevice
putstatic com.sun.media.sound.DirectAudioDeviceProvider.devices:[Lcom/sun/media/sound/DirectAudioDevice;
4: iconst_0
istore 1
start local 1 5: goto 8
6: StackMap locals: int
StackMap stack:
getstatic com.sun.media.sound.DirectAudioDeviceProvider.infos:[Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
iload 1
iload 1
invokestatic com.sun.media.sound.DirectAudioDeviceProvider.nNewDirectAudioDeviceInfo:(I)Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
aastore
7: iinc 1 1
StackMap locals:
StackMap stack:
8: iload 1
getstatic com.sun.media.sound.DirectAudioDeviceProvider.infos:[Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
arraylength
if_icmplt 6
end local 1 9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 10 0 numDevices I
5 9 1 i I
public javax.sound.sampled.Mixer$Info[] getMixerInfo();
descriptor: ()[Ljavax/sound/sampled/Mixer$Info;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: ldc Lcom/sun/media/sound/DirectAudioDeviceProvider;
dup
astore 1
monitorenter
1: getstatic com.sun.media.sound.DirectAudioDeviceProvider.infos:[Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
arraylength
anewarray javax.sound.sampled.Mixer$Info
astore 2
start local 2 2: getstatic com.sun.media.sound.DirectAudioDeviceProvider.infos:[Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
iconst_0
aload 2
iconst_0
getstatic com.sun.media.sound.DirectAudioDeviceProvider.infos:[Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 2
aload 1
monitorexit
4: areturn
end local 2 5: StackMap locals: com.sun.media.sound.DirectAudioDeviceProvider java.lang.Class
StackMap stack: java.lang.Throwable
aload 1
monitorexit
6: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/media/sound/DirectAudioDeviceProvider;
2 5 2 localArray [Ljavax/sound/sampled/Mixer$Info;
Exception table:
from to target type
1 4 5 any
5 6 5 any
public javax.sound.sampled.Mixer getMixer(javax.sound.sampled.Mixer$Info);
descriptor: (Ljavax/sound/sampled/Mixer$Info;)Ljavax/sound/sampled/Mixer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: ldc Lcom/sun/media/sound/DirectAudioDeviceProvider;
dup
astore 2
monitorenter
1: aload 1
ifnonnull 10
2: iconst_0
istore 3
start local 3 3: goto 9
4: StackMap locals: java.lang.Class int
StackMap stack:
getstatic com.sun.media.sound.DirectAudioDeviceProvider.infos:[Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
iload 3
aaload
invokestatic com.sun.media.sound.DirectAudioDeviceProvider.getDevice:(Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;)Ljavax/sound/sampled/Mixer;
astore 4
start local 4 5: aload 4
invokeinterface javax.sound.sampled.Mixer.getSourceLineInfo:()[Ljavax/sound/sampled/Line$Info;
arraylength
ifle 8
6: aload 4
aload 2
monitorexit
7: areturn
end local 4 8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
getstatic com.sun.media.sound.DirectAudioDeviceProvider.infos:[Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
arraylength
if_icmplt 4
end local 3 10: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 11: goto 16
12: StackMap locals: int
StackMap stack:
getstatic com.sun.media.sound.DirectAudioDeviceProvider.infos:[Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
iload 3
aaload
aload 1
invokevirtual com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo.equals:(Ljava/lang/Object;)Z
ifeq 15
13: getstatic com.sun.media.sound.DirectAudioDeviceProvider.infos:[Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
iload 3
aaload
invokestatic com.sun.media.sound.DirectAudioDeviceProvider.getDevice:(Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;)Ljavax/sound/sampled/Mixer;
aload 2
monitorexit
14: areturn
15: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
getstatic com.sun.media.sound.DirectAudioDeviceProvider.infos:[Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
arraylength
if_icmplt 12
end local 3 17: aload 2
monitorexit
18: goto 21
StackMap locals: com.sun.media.sound.DirectAudioDeviceProvider javax.sound.sampled.Mixer$Info java.lang.Class
StackMap stack: java.lang.Throwable
19: aload 2
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Mixer "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual javax.sound.sampled.Mixer$Info.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not supported by this provider."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/media/sound/DirectAudioDeviceProvider;
0 22 1 info Ljavax/sound/sampled/Mixer$Info;
3 10 3 i I
5 8 4 mixer Ljavax/sound/sampled/Mixer;
11 17 3 i I
Exception table:
from to target type
1 7 19 any
8 14 19 any
15 18 19 any
19 20 19 any
MethodParameters:
Name Flags
info
private static javax.sound.sampled.Mixer getDevice(com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo);
descriptor: (Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;)Ljavax/sound/sampled/Mixer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo.getIndex:()I
istore 1
start local 1 1: getstatic com.sun.media.sound.DirectAudioDeviceProvider.devices:[Lcom/sun/media/sound/DirectAudioDevice;
iload 1
aaload
ifnonnull 3
2: getstatic com.sun.media.sound.DirectAudioDeviceProvider.devices:[Lcom/sun/media/sound/DirectAudioDevice;
iload 1
new com.sun.media.sound.DirectAudioDevice
dup
aload 0
invokespecial com.sun.media.sound.DirectAudioDevice.<init>:(Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;)V
aastore
3: StackMap locals: int
StackMap stack:
getstatic com.sun.media.sound.DirectAudioDeviceProvider.devices:[Lcom/sun/media/sound/DirectAudioDevice;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 info Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
1 4 1 index I
MethodParameters:
Name Flags
info
private static native int nGetNumDevices();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo nNewDirectAudioDeviceInfo(int);
descriptor: (I)Lcom/sun/media/sound/DirectAudioDeviceProvider$DirectAudioDeviceInfo;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
deviceIndex
}
SourceFile: "DirectAudioDeviceProvider.java"
NestMembers:
com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo
InnerClasses:
final DirectAudioDeviceInfo = com.sun.media.sound.DirectAudioDeviceProvider$DirectAudioDeviceInfo of com.sun.media.sound.DirectAudioDeviceProvider
public Info = javax.sound.sampled.Line$Info of javax.sound.sampled.Line
public Info = javax.sound.sampled.Mixer$Info of javax.sound.sampled.Mixer