abstract class com.sun.media.sound.AbstractLine implements javax.sound.sampled.Line
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.media.sound.AbstractLine
super_class: java.lang.Object
{
protected final javax.sound.sampled.Line$Info info;
descriptor: Ljavax/sound/sampled/Line$Info;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected javax.sound.sampled.Control[] controls;
descriptor: [Ljavax/sound/sampled/Control;
flags: (0x0004) ACC_PROTECTED
com.sun.media.sound.AbstractMixer mixer;
descriptor: Lcom/sun/media/sound/AbstractMixer;
flags: (0x0000)
private volatile boolean open;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.util.Vector<java.lang.Object> listeners;
descriptor: Ljava/util/Vector;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Vector<Ljava/lang/Object;>;
private static final java.util.Map<java.lang.ThreadGroup, com.sun.media.sound.EventDispatcher> dispatchers;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/ThreadGroup;Lcom/sun/media/sound/EventDispatcher;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
1: putstatic com.sun.media.sound.AbstractLine.dispatchers:Ljava/util/Map;
2: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(javax.sound.sampled.Line$Info, com.sun.media.sound.AbstractMixer, javax.sound.sampled.Control[]);
descriptor: (Ljavax/sound/sampled/Line$Info;Lcom/sun/media/sound/AbstractMixer;[Ljavax/sound/sampled/Control;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield com.sun.media.sound.AbstractLine.listeners:Ljava/util/Vector;
2: aload 3
ifnonnull 4
3: iconst_0
anewarray javax.sound.sampled.Control
astore 3
4: StackMap locals: com.sun.media.sound.AbstractLine javax.sound.sampled.Line$Info com.sun.media.sound.AbstractMixer javax.sound.sampled.Control[]
StackMap stack:
aload 0
aload 1
putfield com.sun.media.sound.AbstractLine.info:Ljavax/sound/sampled/Line$Info;
5: aload 0
aload 2
putfield com.sun.media.sound.AbstractLine.mixer:Lcom/sun/media/sound/AbstractMixer;
6: aload 0
aload 3
putfield com.sun.media.sound.AbstractLine.controls:[Ljavax/sound/sampled/Control;
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/media/sound/AbstractLine;
0 8 1 info Ljavax/sound/sampled/Line$Info;
0 8 2 mixer Lcom/sun/media/sound/AbstractMixer;
0 8 3 controls [Ljavax/sound/sampled/Control;
MethodParameters:
Name Flags
info
mixer
controls
public final javax.sound.sampled.Line$Info getLineInfo();
descriptor: ()Ljavax/sound/sampled/Line$Info;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.AbstractLine.info:Ljavax/sound/sampled/Line$Info;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/AbstractLine;
public final boolean isOpen();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.AbstractLine.open:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/AbstractLine;
public final void addLineListener(javax.sound.sampled.LineListener);
descriptor: (Ljavax/sound/sampled/LineListener;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.AbstractLine.listeners:Ljava/util/Vector;
dup
astore 2
monitorenter
1: aload 0
getfield com.sun.media.sound.AbstractLine.listeners:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.contains:(Ljava/lang/Object;)Z
ifne 3
2: aload 0
getfield com.sun.media.sound.AbstractLine.listeners:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
3: StackMap locals: java.util.Vector
StackMap stack:
aload 2
monitorexit
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/media/sound/AbstractLine;
0 8 1 listener Ljavax/sound/sampled/LineListener;
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
listener
public final void removeLineListener(javax.sound.sampled.LineListener);
descriptor: (Ljavax/sound/sampled/LineListener;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.AbstractLine.listeners:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.removeElement:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/AbstractLine;
0 2 1 listener Ljavax/sound/sampled/LineListener;
MethodParameters:
Name Flags
listener
public final javax.sound.sampled.Control[] getControls();
descriptor: ()[Ljavax/sound/sampled/Control;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.AbstractLine.controls:[Ljavax/sound/sampled/Control;
arraylength
anewarray javax.sound.sampled.Control
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: javax.sound.sampled.Control[] int
StackMap stack:
aload 1
iload 2
aload 0
getfield com.sun.media.sound.AbstractLine.controls:[Ljavax/sound/sampled/Control;
iload 2
aaload
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield com.sun.media.sound.AbstractLine.controls:[Ljavax/sound/sampled/Control;
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/media/sound/AbstractLine;
1 7 1 returnedArray [Ljavax/sound/sampled/Control;
2 6 2 i I
public final boolean isControlSupported(javax.sound.sampled.Control$Type);
descriptor: (Ljavax/sound/sampled/Control$Type;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield com.sun.media.sound.AbstractLine.controls:[Ljavax/sound/sampled/Control;
iload 2
aaload
invokevirtual javax.sound.sampled.Control.getType:()Ljavax/sound/sampled/Control$Type;
if_acmpne 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield com.sun.media.sound.AbstractLine.controls:[Ljavax/sound/sampled/Control;
arraylength
if_icmplt 4
end local 2 8: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/media/sound/AbstractLine;
0 9 1 controlType Ljavax/sound/sampled/Control$Type;
3 8 2 i I
MethodParameters:
Name Flags
controlType
public final javax.sound.sampled.Control getControl(javax.sound.sampled.Control$Type);
descriptor: (Ljavax/sound/sampled/Control$Type;)Ljavax/sound/sampled/Control;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 7
1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield com.sun.media.sound.AbstractLine.controls:[Ljavax/sound/sampled/Control;
iload 2
aaload
invokevirtual javax.sound.sampled.Control.getType:()Ljavax/sound/sampled/Control$Type;
if_acmpne 5
4: aload 0
getfield com.sun.media.sound.AbstractLine.controls:[Ljavax/sound/sampled/Control;
iload 2
aaload
areturn
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield com.sun.media.sound.AbstractLine.controls:[Ljavax/sound/sampled/Control;
arraylength
if_icmplt 3
end local 2 7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported control type: "
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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/media/sound/AbstractLine;
0 8 1 controlType Ljavax/sound/sampled/Control$Type;
2 7 2 i I
MethodParameters:
Name Flags
controlType
final void setOpen(boolean);
descriptor: (Z)V
flags: (0x0010) ACC_FINAL
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
invokevirtual com.sun.media.sound.AbstractLine.getLongFramePosition:()J
lstore 3
start local 3 2: aload 0
dup
astore 5
monitorenter
3: aload 0
getfield com.sun.media.sound.AbstractLine.open:Z
iload 1
if_icmpeq 6
4: aload 0
iload 1
putfield com.sun.media.sound.AbstractLine.open:Z
5: iconst_1
istore 2
6: StackMap locals: int long com.sun.media.sound.AbstractLine
StackMap stack:
aload 5
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 5
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
iload 2
ifeq 15
11: iload 1
ifeq 14
12: aload 0
new javax.sound.sampled.LineEvent
dup
aload 0
getstatic javax.sound.sampled.LineEvent$Type.OPEN:Ljavax/sound/sampled/LineEvent$Type;
lload 3
invokespecial javax.sound.sampled.LineEvent.<init>:(Ljavax/sound/sampled/Line;Ljavax/sound/sampled/LineEvent$Type;J)V
invokevirtual com.sun.media.sound.AbstractLine.sendEvents:(Ljavax/sound/sampled/LineEvent;)V
13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
new javax.sound.sampled.LineEvent
dup
aload 0
getstatic javax.sound.sampled.LineEvent$Type.CLOSE:Ljavax/sound/sampled/LineEvent$Type;
lload 3
invokespecial javax.sound.sampled.LineEvent.<init>:(Ljavax/sound/sampled/Line;Ljavax/sound/sampled/LineEvent$Type;J)V
invokevirtual com.sun.media.sound.AbstractLine.sendEvents:(Ljavax/sound/sampled/LineEvent;)V
15: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/media/sound/AbstractLine;
0 16 1 open Z
1 16 2 sendEvents Z
2 16 3 position J
Exception table:
from to target type
3 7 8 any
8 9 8 any
MethodParameters:
Name Flags
open
final void sendEvents(javax.sound.sampled.LineEvent);
descriptor: (Ljavax/sound/sampled/LineEvent;)V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.media.sound.AbstractLine.getEventDispatcher:()Lcom/sun/media/sound/EventDispatcher;
aload 1
aload 0
getfield com.sun.media.sound.AbstractLine.listeners:Ljava/util/Vector;
invokevirtual com.sun.media.sound.EventDispatcher.sendAudioEvents:(Ljava/lang/Object;Ljava/util/List;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/AbstractLine;
0 2 1 event Ljavax/sound/sampled/LineEvent;
MethodParameters:
Name Flags
event
public final int getFramePosition();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.AbstractLine.getLongFramePosition:()J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/AbstractLine;
public long getLongFramePosition();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc -1
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/AbstractLine;
final com.sun.media.sound.AbstractMixer getMixer();
descriptor: ()Lcom/sun/media/sound/AbstractMixer;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.AbstractLine.mixer:Lcom/sun/media/sound/AbstractMixer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/AbstractLine;
final com.sun.media.sound.EventDispatcher getEventDispatcher();
descriptor: ()Lcom/sun/media/sound/EventDispatcher;
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getThreadGroup:()Ljava/lang/ThreadGroup;
astore 1
start local 1 1: getstatic com.sun.media.sound.AbstractLine.dispatchers:Ljava/util/Map;
dup
astore 2
monitorenter
2: getstatic com.sun.media.sound.AbstractLine.dispatchers:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.media.sound.EventDispatcher
astore 3
start local 3 3: aload 3
ifnonnull 7
4: new com.sun.media.sound.EventDispatcher
dup
invokespecial com.sun.media.sound.EventDispatcher.<init>:()V
astore 3
5: getstatic com.sun.media.sound.AbstractLine.dispatchers:Ljava/util/Map;
aload 1
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 3
invokevirtual com.sun.media.sound.EventDispatcher.start:()V
7: StackMap locals: java.lang.ThreadGroup java.util.Map com.sun.media.sound.EventDispatcher
StackMap stack:
aload 3
aload 2
monitorexit
8: areturn
end local 3 9: StackMap locals: com.sun.media.sound.AbstractLine java.lang.ThreadGroup java.util.Map
StackMap stack: java.lang.Throwable
aload 2
monitorexit
10: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/media/sound/AbstractLine;
1 11 1 tg Ljava/lang/ThreadGroup;
3 9 3 eventDispatcher Lcom/sun/media/sound/EventDispatcher;
Exception table:
from to target type
2 8 9 any
9 10 9 any
public abstract void open();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws javax.sound.sampled.LineUnavailableException
public abstract void close();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
}
SourceFile: "AbstractLine.java"
InnerClasses:
public Type = javax.sound.sampled.Control$Type of javax.sound.sampled.Control
public Info = javax.sound.sampled.Line$Info of javax.sound.sampled.Line
public Type = javax.sound.sampled.LineEvent$Type of javax.sound.sampled.LineEvent