public final class com.sun.media.sound.PortMixerProvider 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.PortMixerProvider
super_class: javax.sound.sampled.spi.MixerProvider
{
private static com.sun.media.sound.PortMixerProvider$PortMixerInfo[] infos;
descriptor: [Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static com.sun.media.sound.PortMixer[] devices;
descriptor: [Lcom/sun/media/sound/PortMixer;
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/PortMixerProvider;
dup
astore 1
monitorenter
2: invokestatic com.sun.media.sound.Platform.isPortsEnabled:()Z
ifeq 5
3: invokestatic com.sun.media.sound.PortMixerProvider.init:()V
4: goto 7
5: StackMap locals: com.sun.media.sound.PortMixerProvider java.lang.Class
StackMap stack:
iconst_0
anewarray com.sun.media.sound.PortMixerProvider$PortMixerInfo
putstatic com.sun.media.sound.PortMixerProvider.infos:[Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
6: iconst_0
anewarray com.sun.media.sound.PortMixer
putstatic com.sun.media.sound.PortMixerProvider.devices:[Lcom/sun/media/sound/PortMixer;
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/PortMixerProvider;
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.PortMixerProvider.nGetNumDevices:()I
istore 0
start local 0 1: getstatic com.sun.media.sound.PortMixerProvider.infos:[Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
ifnull 2
getstatic com.sun.media.sound.PortMixerProvider.infos:[Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
arraylength
iload 0
if_icmpeq 9
2: StackMap locals: int
StackMap stack:
iload 0
anewarray com.sun.media.sound.PortMixerProvider$PortMixerInfo
putstatic com.sun.media.sound.PortMixerProvider.infos:[Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
3: iload 0
anewarray com.sun.media.sound.PortMixer
putstatic com.sun.media.sound.PortMixerProvider.devices:[Lcom/sun/media/sound/PortMixer;
4: iconst_0
istore 1
start local 1 5: goto 8
6: StackMap locals: int
StackMap stack:
getstatic com.sun.media.sound.PortMixerProvider.infos:[Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
iload 1
iload 1
invokestatic com.sun.media.sound.PortMixerProvider.nNewPortMixerInfo:(I)Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
aastore
7: iinc 1 1
StackMap locals:
StackMap stack:
8: iload 1
getstatic com.sun.media.sound.PortMixerProvider.infos:[Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
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/PortMixerProvider;
dup
astore 1
monitorenter
1: getstatic com.sun.media.sound.PortMixerProvider.infos:[Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
arraylength
anewarray javax.sound.sampled.Mixer$Info
astore 2
start local 2 2: getstatic com.sun.media.sound.PortMixerProvider.infos:[Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
iconst_0
aload 2
iconst_0
getstatic com.sun.media.sound.PortMixerProvider.infos:[Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
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.PortMixerProvider 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/PortMixerProvider;
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=4, args_size=2
start local 0 start local 1 0: ldc Lcom/sun/media/sound/PortMixerProvider;
dup
astore 2
monitorenter
1: iconst_0
istore 3
start local 3 2: goto 7
3: StackMap locals: java.lang.Class int
StackMap stack:
getstatic com.sun.media.sound.PortMixerProvider.infos:[Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
iload 3
aaload
aload 1
invokevirtual com.sun.media.sound.PortMixerProvider$PortMixerInfo.equals:(Ljava/lang/Object;)Z
ifeq 6
4: getstatic com.sun.media.sound.PortMixerProvider.infos:[Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
iload 3
aaload
invokestatic com.sun.media.sound.PortMixerProvider.getDevice:(Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;)Ljavax/sound/sampled/Mixer;
aload 2
monitorexit
5: areturn
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
getstatic com.sun.media.sound.PortMixerProvider.infos:[Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
arraylength
if_icmplt 3
end local 3 8: aload 2
monitorexit
9: goto 12
StackMap locals: com.sun.media.sound.PortMixerProvider javax.sound.sampled.Mixer$Info java.lang.Class
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
12: 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;
13: 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;
14: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/media/sound/PortMixerProvider;
0 15 1 info Ljavax/sound/sampled/Mixer$Info;
2 8 3 i I
Exception table:
from to target type
1 5 10 any
6 9 10 any
10 11 10 any
MethodParameters:
Name Flags
info
private static javax.sound.sampled.Mixer getDevice(com.sun.media.sound.PortMixerProvider$PortMixerInfo);
descriptor: (Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;)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.PortMixerProvider$PortMixerInfo.getIndex:()I
istore 1
start local 1 1: getstatic com.sun.media.sound.PortMixerProvider.devices:[Lcom/sun/media/sound/PortMixer;
iload 1
aaload
ifnonnull 3
2: getstatic com.sun.media.sound.PortMixerProvider.devices:[Lcom/sun/media/sound/PortMixer;
iload 1
new com.sun.media.sound.PortMixer
dup
aload 0
invokespecial com.sun.media.sound.PortMixer.<init>:(Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;)V
aastore
3: StackMap locals: int
StackMap stack:
getstatic com.sun.media.sound.PortMixerProvider.devices:[Lcom/sun/media/sound/PortMixer;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 info Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
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.PortMixerProvider$PortMixerInfo nNewPortMixerInfo(int);
descriptor: (I)Lcom/sun/media/sound/PortMixerProvider$PortMixerInfo;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
mixerIndex
}
SourceFile: "PortMixerProvider.java"
NestMembers:
com.sun.media.sound.PortMixerProvider$PortMixerInfo
InnerClasses:
final PortMixerInfo = com.sun.media.sound.PortMixerProvider$PortMixerInfo of com.sun.media.sound.PortMixerProvider
public Info = javax.sound.sampled.Mixer$Info of javax.sound.sampled.Mixer