public final class com.sun.media.sound.AudioFileSoundbankReader extends javax.sound.midi.spi.SoundbankReader
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.sun.media.sound.AudioFileSoundbankReader
  super_class: javax.sound.midi.spi.SoundbankReader
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.media.sound.AudioFileSoundbankReader this
         0: .line 46
            aload 0 /* this */
            invokespecial javax.sound.midi.spi.SoundbankReader.<init>:()V
            return
        end local 0 // com.sun.media.sound.AudioFileSoundbankReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/media/sound/AudioFileSoundbankReader;

  public javax.sound.midi.Soundbank getSoundbank(java.net.URL);
    descriptor: (Ljava/net/URL;)Ljavax/sound/midi/Soundbank;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // com.sun.media.sound.AudioFileSoundbankReader this
        start local 1 // java.net.URL url
         0: .line 52
            aload 1 /* url */
            invokestatic javax.sound.sampled.AudioSystem.getAudioInputStream:(Ljava/net/URL;)Ljavax/sound/sampled/AudioInputStream;
            astore 2 /* ais */
        start local 2 // javax.sound.sampled.AudioInputStream ais
         1: .line 53
            aload 0 /* this */
            aload 2 /* ais */
            invokevirtual com.sun.media.sound.AudioFileSoundbankReader.getSoundbank:(Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/midi/Soundbank;
            astore 3 /* sbk */
        start local 3 // javax.sound.midi.Soundbank sbk
         2: .line 54
            aload 2 /* ais */
            invokevirtual javax.sound.sampled.AudioInputStream.close:()V
         3: .line 55
            aload 3 /* sbk */
         4: areturn
        end local 3 // javax.sound.midi.Soundbank sbk
        end local 2 // javax.sound.sampled.AudioInputStream ais
         5: .line 56
      StackMap locals:
      StackMap stack: javax.sound.sampled.UnsupportedAudioFileException
            pop
         6: .line 57
            aconst_null
            areturn
         7: .line 58
      StackMap locals:
      StackMap stack: java.io.IOException
            pop
         8: .line 59
            aconst_null
            areturn
        end local 1 // java.net.URL url
        end local 0 // com.sun.media.sound.AudioFileSoundbankReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lcom/sun/media/sound/AudioFileSoundbankReader;
            0    9     1   url  Ljava/net/URL;
            1    5     2   ais  Ljavax/sound/sampled/AudioInputStream;
            2    5     3   sbk  Ljavax/sound/midi/Soundbank;
      Exception table:
        from    to  target  type
           0     4       5  Class javax.sound.sampled.UnsupportedAudioFileException
           0     4       7  Class java.io.IOException
    Exceptions:
      throws javax.sound.midi.InvalidMidiDataException, java.io.IOException
    MethodParameters:
      Name  Flags
      url   

  public javax.sound.midi.Soundbank getSoundbank(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)Ljavax/sound/midi/Soundbank;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // com.sun.media.sound.AudioFileSoundbankReader this
        start local 1 // java.io.InputStream stream
         0: .line 66
            aload 1 /* stream */
            sipush 512
            invokevirtual java.io.InputStream.mark:(I)V
         1: .line 68
            aload 1 /* stream */
            invokestatic javax.sound.sampled.AudioSystem.getAudioInputStream:(Ljava/io/InputStream;)Ljavax/sound/sampled/AudioInputStream;
            astore 2 /* ais */
        start local 2 // javax.sound.sampled.AudioInputStream ais
         2: .line 69
            aload 0 /* this */
            aload 2 /* ais */
            invokevirtual com.sun.media.sound.AudioFileSoundbankReader.getSoundbank:(Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/midi/Soundbank;
            astore 3 /* sbk */
        start local 3 // javax.sound.midi.Soundbank sbk
         3: .line 70
            aload 3 /* sbk */
            ifnull 8
         4: .line 71
            aload 3 /* sbk */
         5: areturn
        end local 3 // javax.sound.midi.Soundbank sbk
        end local 2 // javax.sound.sampled.AudioInputStream ais
         6: .line 72
      StackMap locals:
      StackMap stack: javax.sound.sampled.UnsupportedAudioFileException
            pop
            goto 8
         7: .line 73
      StackMap locals:
      StackMap stack: java.io.IOException
            pop
         8: .line 75
      StackMap locals:
      StackMap stack:
            aload 1 /* stream */
            invokevirtual java.io.InputStream.reset:()V
         9: .line 76
            aconst_null
            areturn
        end local 1 // java.io.InputStream stream
        end local 0 // com.sun.media.sound.AudioFileSoundbankReader this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0    this  Lcom/sun/media/sound/AudioFileSoundbankReader;
            0   10     1  stream  Ljava/io/InputStream;
            2    6     2     ais  Ljavax/sound/sampled/AudioInputStream;
            3    6     3     sbk  Ljavax/sound/midi/Soundbank;
      Exception table:
        from    to  target  type
           1     5       6  Class javax.sound.sampled.UnsupportedAudioFileException
           1     5       7  Class java.io.IOException
    Exceptions:
      throws javax.sound.midi.InvalidMidiDataException, java.io.IOException
    MethodParameters:
        Name  Flags
      stream  

  public javax.sound.midi.Soundbank getSoundbank(javax.sound.sampled.AudioInputStream);
    descriptor: (Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/midi/Soundbank;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // com.sun.media.sound.AudioFileSoundbankReader this
        start local 1 // javax.sound.sampled.AudioInputStream ais
         0: .line 83
            aload 1 /* ais */
            invokevirtual javax.sound.sampled.AudioInputStream.getFrameLength:()J
            ldc -1
            lcmp
            ifne 12
         1: .line 84
            new java.io.ByteArrayOutputStream
            dup
            invokespecial java.io.ByteArrayOutputStream.<init>:()V
            astore 3 /* baos */
        start local 3 // java.io.ByteArrayOutputStream baos
         2: .line 85
            sipush 1024
         3: .line 86
            sipush 1024
            aload 1 /* ais */
            invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
            invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
            irem
         4: .line 85
            isub
            newarray 8
            astore 4 /* buff */
        start local 4 // byte[] buff
         5: .line 88
            goto 7
        start local 5 // int ret
         6: .line 89
      StackMap locals: com.sun.media.sound.AudioFileSoundbankReader javax.sound.sampled.AudioInputStream top java.io.ByteArrayOutputStream byte[] int
      StackMap stack:
            aload 3 /* baos */
            aload 4 /* buff */
            iconst_0
            iload 5 /* ret */
            invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
        end local 5 // int ret
         7: .line 88
      StackMap locals:
      StackMap stack:
            aload 1 /* ais */
            aload 4 /* buff */
            invokevirtual javax.sound.sampled.AudioInputStream.read:([B)I
            dup
            istore 5 /* ret */
        start local 5 // int ret
         8: iconst_m1
            if_icmpne 6
         9: .line 91
            aload 1 /* ais */
            invokevirtual javax.sound.sampled.AudioInputStream.close:()V
        10: .line 92
            aload 3 /* baos */
            invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
            astore 2 /* buffer */
        end local 5 // int ret
        end local 4 // byte[] buff
        end local 3 // java.io.ByteArrayOutputStream baos
        start local 2 // byte[] buffer
        11: .line 93
            goto 16
        end local 2 // byte[] buffer
        12: .line 94
      StackMap locals: com.sun.media.sound.AudioFileSoundbankReader javax.sound.sampled.AudioInputStream
      StackMap stack:
            aload 1 /* ais */
            invokevirtual javax.sound.sampled.AudioInputStream.getFrameLength:()J
        13: .line 95
            aload 1 /* ais */
            invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
            invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
            i2l
        14: .line 94
            lmul
            l2i
            newarray 8
            astore 2 /* buffer */
        start local 2 // byte[] buffer
        15: .line 96
            new java.io.DataInputStream
            dup
            aload 1 /* ais */
            invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
            aload 2 /* buffer */
            invokevirtual java.io.DataInputStream.readFully:([B)V
        16: .line 98
      StackMap locals: byte[]
      StackMap stack:
            new com.sun.media.sound.ModelByteBufferWavetable
            dup
        17: .line 99
            new com.sun.media.sound.ModelByteBuffer
            dup
            aload 2 /* buffer */
            invokespecial com.sun.media.sound.ModelByteBuffer.<init>:([B)V
            aload 1 /* ais */
            invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
            ldc -4800.0
        18: .line 98
            invokespecial com.sun.media.sound.ModelByteBufferWavetable.<init>:(Lcom/sun/media/sound/ModelByteBuffer;Ljavax/sound/sampled/AudioFormat;F)V
            astore 3 /* osc */
        start local 3 // com.sun.media.sound.ModelByteBufferWavetable osc
        19: .line 100
            new com.sun.media.sound.ModelPerformer
            dup
            invokespecial com.sun.media.sound.ModelPerformer.<init>:()V
            astore 4 /* performer */
        start local 4 // com.sun.media.sound.ModelPerformer performer
        20: .line 101
            aload 4 /* performer */
            invokevirtual com.sun.media.sound.ModelPerformer.getOscillators:()Ljava/util/List;
            aload 3 /* osc */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        21: .line 103
            new com.sun.media.sound.SimpleSoundbank
            dup
            invokespecial com.sun.media.sound.SimpleSoundbank.<init>:()V
            astore 5 /* sbk */
        start local 5 // com.sun.media.sound.SimpleSoundbank sbk
        22: .line 104
            new com.sun.media.sound.SimpleInstrument
            dup
            invokespecial com.sun.media.sound.SimpleInstrument.<init>:()V
            astore 6 /* ins */
        start local 6 // com.sun.media.sound.SimpleInstrument ins
        23: .line 105
            aload 6 /* ins */
            aload 4 /* performer */
            invokevirtual com.sun.media.sound.SimpleInstrument.add:(Lcom/sun/media/sound/ModelPerformer;)V
        24: .line 106
            aload 5 /* sbk */
            aload 6 /* ins */
            invokevirtual com.sun.media.sound.SimpleSoundbank.addInstrument:(Ljavax/sound/midi/Instrument;)V
        25: .line 107
            aload 5 /* sbk */
        26: areturn
        end local 6 // com.sun.media.sound.SimpleInstrument ins
        end local 5 // com.sun.media.sound.SimpleSoundbank sbk
        end local 4 // com.sun.media.sound.ModelPerformer performer
        end local 3 // com.sun.media.sound.ModelByteBufferWavetable osc
        end local 2 // byte[] buffer
        27: .line 108
      StackMap locals: com.sun.media.sound.AudioFileSoundbankReader javax.sound.sampled.AudioInputStream
      StackMap stack: java.lang.Exception
            pop
        28: .line 109
            aconst_null
            areturn
        end local 1 // javax.sound.sampled.AudioInputStream ais
        end local 0 // com.sun.media.sound.AudioFileSoundbankReader this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   29     0       this  Lcom/sun/media/sound/AudioFileSoundbankReader;
            0   29     1        ais  Ljavax/sound/sampled/AudioInputStream;
           11   12     2     buffer  [B
           15   27     2     buffer  [B
            2   11     3       baos  Ljava/io/ByteArrayOutputStream;
            5   11     4       buff  [B
            6    7     5        ret  I
            8   11     5        ret  I
           19   27     3        osc  Lcom/sun/media/sound/ModelByteBufferWavetable;
           20   27     4  performer  Lcom/sun/media/sound/ModelPerformer;
           22   27     5        sbk  Lcom/sun/media/sound/SimpleSoundbank;
           23   27     6        ins  Lcom/sun/media/sound/SimpleInstrument;
      Exception table:
        from    to  target  type
           0    26      27  Class java.lang.Exception
    Exceptions:
      throws javax.sound.midi.InvalidMidiDataException, java.io.IOException
    MethodParameters:
      Name  Flags
      ais   

  public javax.sound.midi.Soundbank getSoundbank(java.io.File);
    descriptor: (Ljava/io/File;)Ljavax/sound/midi/Soundbank;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=9, locals=7, args_size=2
        start local 0 // com.sun.media.sound.AudioFileSoundbankReader this
        start local 1 // java.io.File file
         0: .line 117
            aload 1 /* file */
            invokestatic javax.sound.sampled.AudioSystem.getAudioInputStream:(Ljava/io/File;)Ljavax/sound/sampled/AudioInputStream;
            astore 2 /* ais */
        start local 2 // javax.sound.sampled.AudioInputStream ais
         1: .line 118
            aload 2 /* ais */
            invokevirtual javax.sound.sampled.AudioInputStream.close:()V
         2: .line 119
            new com.sun.media.sound.ModelByteBufferWavetable
            dup
         3: .line 120
            new com.sun.media.sound.ModelByteBuffer
            dup
            aload 1 /* file */
            lconst_0
            aload 1 /* file */
            invokevirtual java.io.File.length:()J
            invokespecial com.sun.media.sound.ModelByteBuffer.<init>:(Ljava/io/File;JJ)V
            ldc -4800.0
         4: .line 119
            invokespecial com.sun.media.sound.ModelByteBufferWavetable.<init>:(Lcom/sun/media/sound/ModelByteBuffer;F)V
            astore 3 /* osc */
        start local 3 // com.sun.media.sound.ModelByteBufferWavetable osc
         5: .line 121
            new com.sun.media.sound.ModelPerformer
            dup
            invokespecial com.sun.media.sound.ModelPerformer.<init>:()V
            astore 4 /* performer */
        start local 4 // com.sun.media.sound.ModelPerformer performer
         6: .line 122
            aload 4 /* performer */
            invokevirtual com.sun.media.sound.ModelPerformer.getOscillators:()Ljava/util/List;
            aload 3 /* osc */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         7: .line 123
            new com.sun.media.sound.SimpleSoundbank
            dup
            invokespecial com.sun.media.sound.SimpleSoundbank.<init>:()V
            astore 5 /* sbk */
        start local 5 // com.sun.media.sound.SimpleSoundbank sbk
         8: .line 124
            new com.sun.media.sound.SimpleInstrument
            dup
            invokespecial com.sun.media.sound.SimpleInstrument.<init>:()V
            astore 6 /* ins */
        start local 6 // com.sun.media.sound.SimpleInstrument ins
         9: .line 125
            aload 6 /* ins */
            aload 4 /* performer */
            invokevirtual com.sun.media.sound.SimpleInstrument.add:(Lcom/sun/media/sound/ModelPerformer;)V
        10: .line 126
            aload 5 /* sbk */
            aload 6 /* ins */
            invokevirtual com.sun.media.sound.SimpleSoundbank.addInstrument:(Ljavax/sound/midi/Instrument;)V
        11: .line 127
            aload 5 /* sbk */
        12: areturn
        end local 6 // com.sun.media.sound.SimpleInstrument ins
        end local 5 // com.sun.media.sound.SimpleSoundbank sbk
        end local 4 // com.sun.media.sound.ModelPerformer performer
        end local 3 // com.sun.media.sound.ModelByteBufferWavetable osc
        end local 2 // javax.sound.sampled.AudioInputStream ais
        13: .line 128
      StackMap locals:
      StackMap stack: javax.sound.sampled.UnsupportedAudioFileException
            pop
        14: .line 129
            aconst_null
            areturn
        15: .line 130
      StackMap locals:
      StackMap stack: java.io.IOException
            pop
        16: .line 131
            aconst_null
            areturn
        end local 1 // java.io.File file
        end local 0 // com.sun.media.sound.AudioFileSoundbankReader this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   17     0       this  Lcom/sun/media/sound/AudioFileSoundbankReader;
            0   17     1       file  Ljava/io/File;
            1   13     2        ais  Ljavax/sound/sampled/AudioInputStream;
            5   13     3        osc  Lcom/sun/media/sound/ModelByteBufferWavetable;
            6   13     4  performer  Lcom/sun/media/sound/ModelPerformer;
            8   13     5        sbk  Lcom/sun/media/sound/SimpleSoundbank;
            9   13     6        ins  Lcom/sun/media/sound/SimpleInstrument;
      Exception table:
        from    to  target  type
           0    12      13  Class javax.sound.sampled.UnsupportedAudioFileException
           0    12      15  Class java.io.IOException
    Exceptions:
      throws javax.sound.midi.InvalidMidiDataException, java.io.IOException
    MethodParameters:
      Name  Flags
      file  
}
SourceFile: "AudioFileSoundbankReader.java"