final class com.sun.media.jfxmediaimpl.NativeAudioClip extends com.sun.media.jfxmedia.AudioClip
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.media.jfxmediaimpl.NativeAudioClip
super_class: com.sun.media.jfxmedia.AudioClip
{
private final com.sun.media.jfxmedia.locator.Locator mediaSource;
descriptor: Lcom/sun/media/jfxmedia/locator/Locator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long nativeHandle;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private static com.sun.media.jfxmediaimpl.NativeAudioClip$NativeAudioClipDisposer clipDisposer;
descriptor: Lcom/sun/media/jfxmediaimpl/NativeAudioClip$NativeAudioClipDisposer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.media.jfxmediaimpl.NativeAudioClip$NativeAudioClipDisposer
dup
invokespecial com.sun.media.jfxmediaimpl.NativeAudioClip$NativeAudioClipDisposer.<init>:()V
putstatic com.sun.media.jfxmediaimpl.NativeAudioClip.clipDisposer:Lcom/sun/media/jfxmediaimpl/NativeAudioClip$NativeAudioClipDisposer;
return
LocalVariableTable:
Start End Slot Name Signature
private static native boolean nacInit();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native long nacLoad(com.sun.media.jfxmedia.locator.Locator);
descriptor: (Lcom/sun/media/jfxmedia/locator/Locator;)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
source
private static native long nacCreate(byte[], int, int, int, int, int);
descriptor: ([BIIIII)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
data
dataOffset
sampleCount
sampleFormat
channels
sampleRate
private static native void nacUnload(long);
descriptor: (J)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
handle
private static native void nacStopAll();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public static synchronized boolean init();
descriptor: ()Z
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.sun.media.jfxmediaimpl.NativeAudioClip.nacInit:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static com.sun.media.jfxmedia.AudioClip load(java.net.URI);
descriptor: (Ljava/net/URI;)Lcom/sun/media/jfxmedia/AudioClip;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: new com.sun.media.jfxmedia.locator.Locator
dup
aload 0
invokespecial com.sun.media.jfxmedia.locator.Locator.<init>:(Ljava/net/URI;)V
astore 2
start local 2 2: aload 2
invokevirtual com.sun.media.jfxmedia.locator.Locator.init:()V
3: new com.sun.media.jfxmediaimpl.NativeAudioClip
dup
aload 2
invokespecial com.sun.media.jfxmediaimpl.NativeAudioClip.<init>:(Lcom/sun/media/jfxmedia/locator/Locator;)V
astore 1
end local 2 4: goto 9
StackMap locals: java.net.URI com.sun.media.jfxmediaimpl.NativeAudioClip
StackMap stack: java.net.URISyntaxException
5: astore 2
start local 2 6: new com.sun.media.jfxmedia.MediaException
dup
ldc "Non-compliant URI"
aload 2
invokespecial com.sun.media.jfxmedia.MediaException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 7: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 8: new com.sun.media.jfxmedia.MediaException
dup
ldc "Cannot connect to media"
aload 2
invokespecial com.sun.media.jfxmedia.MediaException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 9: StackMap locals:
StackMap stack:
aload 1
ifnull 12
lconst_0
aload 1
invokevirtual com.sun.media.jfxmediaimpl.NativeAudioClip.getNativeHandle:()J
lcmp
ifeq 12
10: aload 1
aload 1
invokevirtual com.sun.media.jfxmediaimpl.NativeAudioClip.getNativeHandle:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
getstatic com.sun.media.jfxmediaimpl.NativeAudioClip.clipDisposer:Lcom/sun/media/jfxmediaimpl/NativeAudioClip$NativeAudioClipDisposer;
invokestatic com.sun.media.jfxmediaimpl.MediaDisposer.addResourceDisposer:(Ljava/lang/Object;Ljava/lang/Object;Lcom/sun/media/jfxmediaimpl/MediaDisposer$ResourceDisposer;)V
11: goto 14
12: StackMap locals:
StackMap stack:
aconst_null
astore 1
13: new com.sun.media.jfxmedia.MediaException
dup
ldc "Cannot create audio clip"
invokespecial com.sun.media.jfxmedia.MediaException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 source Ljava/net/URI;
1 15 1 newClip Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
2 4 2 locator Lcom/sun/media/jfxmedia/locator/Locator;
6 7 2 ex Ljava/net/URISyntaxException;
8 9 2 ex Ljava/io/IOException;
Exception table:
from to target type
1 4 5 Class java.net.URISyntaxException
1 4 7 Class java.io.IOException
MethodParameters:
Name Flags
source
public static com.sun.media.jfxmedia.AudioClip create(byte[], int, int, int, int, int);
descriptor: ([BIIIII)Lcom/sun/media/jfxmedia/AudioClip;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new com.sun.media.jfxmediaimpl.NativeAudioClip
dup
aload 0
iload 1
iload 2
iload 3
iload 4
iload 5
invokespecial com.sun.media.jfxmediaimpl.NativeAudioClip.<init>:([BIIIII)V
astore 6
start local 6 1: aload 6
ifnull 4
lconst_0
aload 6
invokevirtual com.sun.media.jfxmediaimpl.NativeAudioClip.getNativeHandle:()J
lcmp
ifeq 4
2: aload 6
aload 6
invokevirtual com.sun.media.jfxmediaimpl.NativeAudioClip.getNativeHandle:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
getstatic com.sun.media.jfxmediaimpl.NativeAudioClip.clipDisposer:Lcom/sun/media/jfxmediaimpl/NativeAudioClip$NativeAudioClipDisposer;
invokestatic com.sun.media.jfxmediaimpl.MediaDisposer.addResourceDisposer:(Ljava/lang/Object;Ljava/lang/Object;Lcom/sun/media/jfxmediaimpl/MediaDisposer$ResourceDisposer;)V
3: goto 6
4: StackMap locals: com.sun.media.jfxmediaimpl.NativeAudioClip
StackMap stack:
aconst_null
astore 6
5: new com.sun.media.jfxmedia.MediaException
dup
ldc "Cannot create audio clip"
invokespecial com.sun.media.jfxmedia.MediaException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 6
areturn
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 7 0 data [B
0 7 1 dataOffset I
0 7 2 sampleCount I
0 7 3 sampleFormat I
0 7 4 channels I
0 7 5 sampleRate I
1 7 6 newClip Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
MethodParameters:
Name Flags
data
dataOffset
sampleCount
sampleFormat
channels
sampleRate
private native com.sun.media.jfxmediaimpl.NativeAudioClip nacCreateSegment(long, double, double);
descriptor: (JDD)Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
handle
startTime
stopTime
private native com.sun.media.jfxmediaimpl.NativeAudioClip nacCreateSegment(long, int, int);
descriptor: (JII)Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
handle
startSample
endSample
private native com.sun.media.jfxmediaimpl.NativeAudioClip nacResample(long, int, int, int);
descriptor: (JIII)Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
handle
startSample
endSample
sampleRate
private native com.sun.media.jfxmediaimpl.NativeAudioClip nacAppend(long, long);
descriptor: (JJ)Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
handle
otherClip
private native boolean nacIsPlaying(long);
descriptor: (J)Z
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
handle
private native void nacPlay(long, double, double, double, double, int, int);
descriptor: (JDDDDII)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
handle
volume
balance
pan
rate
loopCount
priority
private native void nacStop(long);
descriptor: (J)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
handle
private void <init>(com.sun.media.jfxmedia.locator.Locator);
descriptor: (Lcom/sun/media/jfxmedia/locator/Locator;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.media.jfxmedia.AudioClip.<init>:()V
1: aload 0
lconst_0
putfield com.sun.media.jfxmediaimpl.NativeAudioClip.nativeHandle:J
2: aload 0
aload 1
putfield com.sun.media.jfxmediaimpl.NativeAudioClip.mediaSource:Lcom/sun/media/jfxmedia/locator/Locator;
3: aload 0
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.mediaSource:Lcom/sun/media/jfxmedia/locator/Locator;
invokestatic com.sun.media.jfxmediaimpl.NativeAudioClip.nacLoad:(Lcom/sun/media/jfxmedia/locator/Locator;)J
putfield com.sun.media.jfxmediaimpl.NativeAudioClip.nativeHandle:J
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
0 5 1 source Lcom/sun/media/jfxmedia/locator/Locator;
MethodParameters:
Name Flags
source
private void <init>(byte[], int, int, int, int, int);
descriptor: ([BIIIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial com.sun.media.jfxmedia.AudioClip.<init>:()V
1: aload 0
lconst_0
putfield com.sun.media.jfxmediaimpl.NativeAudioClip.nativeHandle:J
2: aload 0
aconst_null
putfield com.sun.media.jfxmediaimpl.NativeAudioClip.mediaSource:Lcom/sun/media/jfxmedia/locator/Locator;
3: aload 0
aload 1
iload 2
iload 3
iload 4
iload 5
iload 6
invokestatic com.sun.media.jfxmediaimpl.NativeAudioClip.nacCreate:([BIIIII)J
putfield com.sun.media.jfxmediaimpl.NativeAudioClip.nativeHandle:J
4: return
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 5 0 this Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
0 5 1 data [B
0 5 2 dataOffset I
0 5 3 sampleCount I
0 5 4 sampleFormat I
0 5 5 channels I
0 5 6 sampleRate I
MethodParameters:
Name Flags
data
dataOffset
sampleCount
sampleFormat
channels
sampleRate
long getNativeHandle();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.nativeHandle:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
public com.sun.media.jfxmedia.AudioClip createSegment(double, double);
descriptor: (DD)Lcom/sun/media/jfxmedia/AudioClip;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.nativeHandle:J
dload 1
dload 3
invokevirtual com.sun.media.jfxmediaimpl.NativeAudioClip.nacCreateSegment:(JDD)Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
0 1 1 startTime D
0 1 3 stopTime D
MethodParameters:
Name Flags
startTime
stopTime
public com.sun.media.jfxmedia.AudioClip createSegment(int, int);
descriptor: (II)Lcom/sun/media/jfxmedia/AudioClip;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.nativeHandle:J
iload 1
iload 2
invokevirtual com.sun.media.jfxmediaimpl.NativeAudioClip.nacCreateSegment:(JII)Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
0 1 1 startSample I
0 1 2 endSample I
MethodParameters:
Name Flags
startSample
endSample
public com.sun.media.jfxmedia.AudioClip resample(int, int, int);
descriptor: (III)Lcom/sun/media/jfxmedia/AudioClip;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.nativeHandle:J
iload 1
iload 2
iload 3
invokevirtual com.sun.media.jfxmediaimpl.NativeAudioClip.nacResample:(JIII)Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
0 1 1 startSample I
0 1 2 endSample I
0 1 3 newSampleRate I
MethodParameters:
Name Flags
startSample
endSample
newSampleRate
public com.sun.media.jfxmedia.AudioClip append(com.sun.media.jfxmedia.AudioClip);
descriptor: (Lcom/sun/media/jfxmedia/AudioClip;)Lcom/sun/media/jfxmedia/AudioClip;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.media.jfxmediaimpl.NativeAudioClip
ifne 2
1: new java.lang.IllegalArgumentException
dup
ldc "AudioClip type mismatch, cannot append"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.nativeHandle:J
aload 1
checkcast com.sun.media.jfxmediaimpl.NativeAudioClip
invokevirtual com.sun.media.jfxmediaimpl.NativeAudioClip.getNativeHandle:()J
invokevirtual com.sun.media.jfxmediaimpl.NativeAudioClip.nacAppend:(JJ)Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
0 3 1 clip Lcom/sun/media/jfxmedia/AudioClip;
MethodParameters:
Name Flags
clip
public com.sun.media.jfxmedia.AudioClip flatten();
descriptor: ()Lcom/sun/media/jfxmedia/AudioClip;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
public boolean isPlaying();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.nativeHandle:J
invokevirtual com.sun.media.jfxmediaimpl.NativeAudioClip.nacIsPlaying:(J)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
public void play();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.nativeHandle:J
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.clipVolume:D
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.clipBalance:D
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.clipPan:D
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.clipRate:D
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.loopCount:I
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.clipPriority:I
invokevirtual com.sun.media.jfxmediaimpl.NativeAudioClip.nacPlay:(JDDDDII)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
public void play(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.nativeHandle:J
dload 1
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.clipBalance:D
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.clipPan:D
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.clipRate:D
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.loopCount:I
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.clipPriority:I
invokevirtual com.sun.media.jfxmediaimpl.NativeAudioClip.nacPlay:(JDDDDII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
0 2 1 volume D
MethodParameters:
Name Flags
volume
public void play(double, double, double, double, int, int);
descriptor: (DDDDII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=11, args_size=7
start local 0 start local 1 start local 3 start local 5 start local 7 start local 9 start local 10 0: aload 0
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.nativeHandle:J
dload 1
dload 3
dload 7
dload 5
iload 9
iload 10
invokevirtual com.sun.media.jfxmediaimpl.NativeAudioClip.nacPlay:(JDDDDII)V
1: return
end local 10 end local 9 end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
0 2 1 volume D
0 2 3 balance D
0 2 5 rate D
0 2 7 pan D
0 2 9 loopCount I
0 2 10 priority I
MethodParameters:
Name Flags
volume
balance
rate
pan
loopCount
priority
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.media.jfxmediaimpl.NativeAudioClip.nativeHandle:J
invokevirtual com.sun.media.jfxmediaimpl.NativeAudioClip.nacStop:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/jfxmediaimpl/NativeAudioClip;
public static void stopAllClips();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic com.sun.media.jfxmediaimpl.NativeAudioClip.nacStopAll:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "NativeAudioClip.java"
NestMembers:
com.sun.media.jfxmediaimpl.NativeAudioClip$NativeAudioClipDisposer
InnerClasses:
public abstract ResourceDisposer = com.sun.media.jfxmediaimpl.MediaDisposer$ResourceDisposer of com.sun.media.jfxmediaimpl.MediaDisposer
private NativeAudioClipDisposer = com.sun.media.jfxmediaimpl.NativeAudioClip$NativeAudioClipDisposer of com.sun.media.jfxmediaimpl.NativeAudioClip