public final class com.sun.media.sound.AuFileWriter extends com.sun.media.sound.SunFileWriter
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.sun.media.sound.AuFileWriter
  super_class: com.sun.media.sound.SunFileWriter
{
  public static final int UNKNOWN_SIZE;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: -1

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.sun.media.sound.AuFileWriter this
         0: .line 63
            aload 0 /* this */
            iconst_1
            anewarray javax.sound.sampled.AudioFileFormat$Type
            dup
            iconst_0
            getstatic javax.sound.sampled.AudioFileFormat$Type.AU:Ljavax/sound/sampled/AudioFileFormat$Type;
            aastore
            invokespecial com.sun.media.sound.SunFileWriter.<init>:([Ljavax/sound/sampled/AudioFileFormat$Type;)V
         1: .line 64
            return
        end local 0 // com.sun.media.sound.AuFileWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/media/sound/AuFileWriter;

  public javax.sound.sampled.AudioFileFormat$Type[] getAudioFileTypes(javax.sound.sampled.AudioInputStream);
    descriptor: (Ljavax/sound/sampled/AudioInputStream;)[Ljavax/sound/sampled/AudioFileFormat$Type;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // com.sun.media.sound.AuFileWriter this
        start local 1 // javax.sound.sampled.AudioInputStream stream
         0: .line 68
            aload 0 /* this */
            getfield com.sun.media.sound.AuFileWriter.types:[Ljavax/sound/sampled/AudioFileFormat$Type;
            arraylength
            anewarray javax.sound.sampled.AudioFileFormat$Type
            astore 2 /* filetypes */
        start local 2 // javax.sound.sampled.AudioFileFormat$Type[] filetypes
         1: .line 69
            aload 0 /* this */
            getfield com.sun.media.sound.AuFileWriter.types:[Ljavax/sound/sampled/AudioFileFormat$Type;
            iconst_0
            aload 2 /* filetypes */
            iconst_0
            aload 0 /* this */
            getfield com.sun.media.sound.AuFileWriter.types:[Ljavax/sound/sampled/AudioFileFormat$Type;
            arraylength
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         2: .line 72
            aload 1 /* stream */
            invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
            astore 3 /* format */
        start local 3 // javax.sound.sampled.AudioFormat format
         3: .line 73
            aload 3 /* format */
            invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
            astore 4 /* encoding */
        start local 4 // javax.sound.sampled.AudioFormat$Encoding encoding
         4: .line 75
            getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
            aload 4 /* encoding */
            invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
            ifne 8
         5: .line 76
            getstatic javax.sound.sampled.AudioFormat$Encoding.ULAW:Ljavax/sound/sampled/AudioFormat$Encoding;
            aload 4 /* encoding */
            invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
            ifne 8
         6: .line 77
            getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
            aload 4 /* encoding */
            invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
            ifne 8
         7: .line 78
            getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
            aload 4 /* encoding */
            invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
            ifeq 9
         8: .line 80
      StackMap locals: javax.sound.sampled.AudioFileFormat$Type[] javax.sound.sampled.AudioFormat javax.sound.sampled.AudioFormat$Encoding
      StackMap stack:
            aload 2 /* filetypes */
            areturn
         9: .line 83
      StackMap locals:
      StackMap stack:
            iconst_0
            anewarray javax.sound.sampled.AudioFileFormat$Type
            areturn
        end local 4 // javax.sound.sampled.AudioFormat$Encoding encoding
        end local 3 // javax.sound.sampled.AudioFormat format
        end local 2 // javax.sound.sampled.AudioFileFormat$Type[] filetypes
        end local 1 // javax.sound.sampled.AudioInputStream stream
        end local 0 // com.sun.media.sound.AuFileWriter this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   10     0       this  Lcom/sun/media/sound/AuFileWriter;
            0   10     1     stream  Ljavax/sound/sampled/AudioInputStream;
            1   10     2  filetypes  [Ljavax/sound/sampled/AudioFileFormat$Type;
            3   10     3     format  Ljavax/sound/sampled/AudioFormat;
            4   10     4   encoding  Ljavax/sound/sampled/AudioFormat$Encoding;
    MethodParameters:
        Name  Flags
      stream  

  public int write(javax.sound.sampled.AudioInputStream, javax.sound.sampled.AudioFileFormat$Type, java.io.OutputStream);
    descriptor: (Ljavax/sound/sampled/AudioInputStream;Ljavax/sound/sampled/AudioFileFormat$Type;Ljava/io/OutputStream;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=4
        start local 0 // com.sun.media.sound.AuFileWriter this
        start local 1 // javax.sound.sampled.AudioInputStream stream
        start local 2 // javax.sound.sampled.AudioFileFormat$Type fileType
        start local 3 // java.io.OutputStream out
         0: .line 96
            aload 0 /* this */
            aload 2 /* fileType */
            aload 1 /* stream */
            invokevirtual com.sun.media.sound.AuFileWriter.getAudioFileFormat:(Ljavax/sound/sampled/AudioFileFormat$Type;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioFileFormat;
            checkcast com.sun.media.sound.AuFileFormat
            astore 4 /* auFileFormat */
        start local 4 // com.sun.media.sound.AuFileFormat auFileFormat
         1: .line 98
            aload 0 /* this */
            aload 1 /* stream */
            aload 4 /* auFileFormat */
            aload 3 /* out */
            invokevirtual com.sun.media.sound.AuFileWriter.writeAuFile:(Ljava/io/InputStream;Lcom/sun/media/sound/AuFileFormat;Ljava/io/OutputStream;)I
            istore 5 /* bytesWritten */
        start local 5 // int bytesWritten
         2: .line 99
            iload 5 /* bytesWritten */
            ireturn
        end local 5 // int bytesWritten
        end local 4 // com.sun.media.sound.AuFileFormat auFileFormat
        end local 3 // java.io.OutputStream out
        end local 2 // javax.sound.sampled.AudioFileFormat$Type fileType
        end local 1 // javax.sound.sampled.AudioInputStream stream
        end local 0 // com.sun.media.sound.AuFileWriter this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    3     0          this  Lcom/sun/media/sound/AuFileWriter;
            0    3     1        stream  Ljavax/sound/sampled/AudioInputStream;
            0    3     2      fileType  Ljavax/sound/sampled/AudioFileFormat$Type;
            0    3     3           out  Ljava/io/OutputStream;
            1    3     4  auFileFormat  Lcom/sun/media/sound/AuFileFormat;
            2    3     5  bytesWritten  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      stream    
      fileType  
      out       

  public int write(javax.sound.sampled.AudioInputStream, javax.sound.sampled.AudioFileFormat$Type, java.io.File);
    descriptor: (Ljavax/sound/sampled/AudioInputStream;Ljavax/sound/sampled/AudioFileFormat$Type;Ljava/io/File;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=9, args_size=4
        start local 0 // com.sun.media.sound.AuFileWriter this
        start local 1 // javax.sound.sampled.AudioInputStream stream
        start local 2 // javax.sound.sampled.AudioFileFormat$Type fileType
        start local 3 // java.io.File out
         0: .line 107
            aload 0 /* this */
            aload 2 /* fileType */
            aload 1 /* stream */
            invokevirtual com.sun.media.sound.AuFileWriter.getAudioFileFormat:(Ljavax/sound/sampled/AudioFileFormat$Type;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioFileFormat;
            checkcast com.sun.media.sound.AuFileFormat
            astore 4 /* auFileFormat */
        start local 4 // com.sun.media.sound.AuFileFormat auFileFormat
         1: .line 110
            new java.io.FileOutputStream
            dup
            aload 3 /* out */
            invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
            astore 5 /* fos */
        start local 5 // java.io.FileOutputStream fos
         2: .line 111
            new java.io.BufferedOutputStream
            dup
            aload 5 /* fos */
            sipush 4096
            invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;I)V
            astore 6 /* bos */
        start local 6 // java.io.BufferedOutputStream bos
         3: .line 112
            aload 0 /* this */
            aload 1 /* stream */
            aload 4 /* auFileFormat */
            aload 6 /* bos */
            invokevirtual com.sun.media.sound.AuFileWriter.writeAuFile:(Ljava/io/InputStream;Lcom/sun/media/sound/AuFileFormat;Ljava/io/OutputStream;)I
            istore 7 /* bytesWritten */
        start local 7 // int bytesWritten
         4: .line 113
            aload 6 /* bos */
            invokevirtual java.io.BufferedOutputStream.close:()V
         5: .line 118
            aload 4 /* auFileFormat */
            invokevirtual com.sun.media.sound.AuFileFormat.getByteLength:()I
            iconst_m1
            if_icmpne 11
         6: .line 122
            new java.io.RandomAccessFile
            dup
            aload 3 /* out */
            ldc "rw"
            invokespecial java.io.RandomAccessFile.<init>:(Ljava/io/File;Ljava/lang/String;)V
            astore 8 /* raf */
        start local 8 // java.io.RandomAccessFile raf
         7: .line 123
            aload 8 /* raf */
            invokevirtual java.io.RandomAccessFile.length:()J
            ldc 2147483647
            lcmp
            ifgt 10
         8: .line 125
            aload 8 /* raf */
            bipush 8
            invokevirtual java.io.RandomAccessFile.skipBytes:(I)I
            pop
         9: .line 126
            aload 8 /* raf */
            iload 7 /* bytesWritten */
            bipush 24
            isub
            invokevirtual java.io.RandomAccessFile.writeInt:(I)V
        10: .line 129
      StackMap locals: com.sun.media.sound.AuFileWriter javax.sound.sampled.AudioInputStream javax.sound.sampled.AudioFileFormat$Type java.io.File com.sun.media.sound.AuFileFormat java.io.FileOutputStream java.io.BufferedOutputStream int java.io.RandomAccessFile
      StackMap stack:
            aload 8 /* raf */
            invokevirtual java.io.RandomAccessFile.close:()V
        end local 8 // java.io.RandomAccessFile raf
        11: .line 132
      StackMap locals:
      StackMap stack:
            iload 7 /* bytesWritten */
            ireturn
        end local 7 // int bytesWritten
        end local 6 // java.io.BufferedOutputStream bos
        end local 5 // java.io.FileOutputStream fos
        end local 4 // com.sun.media.sound.AuFileFormat auFileFormat
        end local 3 // java.io.File out
        end local 2 // javax.sound.sampled.AudioFileFormat$Type fileType
        end local 1 // javax.sound.sampled.AudioInputStream stream
        end local 0 // com.sun.media.sound.AuFileWriter this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   12     0          this  Lcom/sun/media/sound/AuFileWriter;
            0   12     1        stream  Ljavax/sound/sampled/AudioInputStream;
            0   12     2      fileType  Ljavax/sound/sampled/AudioFileFormat$Type;
            0   12     3           out  Ljava/io/File;
            1   12     4  auFileFormat  Lcom/sun/media/sound/AuFileFormat;
            2   12     5           fos  Ljava/io/FileOutputStream;
            3   12     6           bos  Ljava/io/BufferedOutputStream;
            4   12     7  bytesWritten  I
            7   11     8           raf  Ljava/io/RandomAccessFile;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      stream    
      fileType  
      out       

  private javax.sound.sampled.AudioFileFormat getAudioFileFormat(javax.sound.sampled.AudioFileFormat$Type, javax.sound.sampled.AudioInputStream);
    descriptor: (Ljavax/sound/sampled/AudioFileFormat$Type;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioFileFormat;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=9, locals=10, args_size=3
        start local 0 // com.sun.media.sound.AuFileWriter this
        start local 1 // javax.sound.sampled.AudioFileFormat$Type type
        start local 2 // javax.sound.sampled.AudioInputStream stream
         0: .line 144
            aconst_null
            astore 3 /* format */
        start local 3 // javax.sound.sampled.AudioFormat format
         1: .line 145
            aconst_null
            astore 4 /* fileFormat */
        start local 4 // com.sun.media.sound.AuFileFormat fileFormat
         2: .line 146
            getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
            astore 5 /* encoding */
        start local 5 // javax.sound.sampled.AudioFormat$Encoding encoding
         3: .line 148
            aload 2 /* stream */
            invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
            astore 6 /* streamFormat */
        start local 6 // javax.sound.sampled.AudioFormat streamFormat
         4: .line 149
            aload 6 /* streamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
            astore 7 /* streamEncoding */
        start local 7 // javax.sound.sampled.AudioFormat$Encoding streamEncoding
         5: .line 159
            aload 0 /* this */
            getfield com.sun.media.sound.AuFileWriter.types:[Ljavax/sound/sampled/AudioFileFormat$Type;
            iconst_0
            aaload
            aload 1 /* type */
            invokevirtual javax.sound.sampled.AudioFileFormat$Type.equals:(Ljava/lang/Object;)Z
            ifne 7
         6: .line 160
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "File type "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* type */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " not supported."
            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
         7: .line 163
      StackMap locals: com.sun.media.sound.AuFileWriter javax.sound.sampled.AudioFileFormat$Type javax.sound.sampled.AudioInputStream javax.sound.sampled.AudioFormat com.sun.media.sound.AuFileFormat javax.sound.sampled.AudioFormat$Encoding javax.sound.sampled.AudioFormat javax.sound.sampled.AudioFormat$Encoding
      StackMap stack:
            getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
            aload 7 /* streamEncoding */
            invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
            ifne 9
         8: .line 164
            getstatic javax.sound.sampled.AudioFormat$Encoding.ULAW:Ljavax/sound/sampled/AudioFormat$Encoding;
            aload 7 /* streamEncoding */
            invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
            ifeq 12
         9: .line 166
      StackMap locals:
      StackMap stack:
            aload 7 /* streamEncoding */
            astore 5 /* encoding */
        10: .line 167
            aload 6 /* streamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
            istore 8 /* sampleSizeInBits */
        start local 8 // int sampleSizeInBits
        11: .line 169
            goto 18
        end local 8 // int sampleSizeInBits
      StackMap locals:
      StackMap stack:
        12: aload 6 /* streamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
            bipush 8
            if_icmpne 16
        13: .line 171
            getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
            astore 5 /* encoding */
        14: .line 172
            bipush 8
            istore 8 /* sampleSizeInBits */
        start local 8 // int sampleSizeInBits
        15: .line 174
            goto 18
        end local 8 // int sampleSizeInBits
        16: .line 176
      StackMap locals:
      StackMap stack:
            getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
            astore 5 /* encoding */
        17: .line 177
            aload 6 /* streamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
            istore 8 /* sampleSizeInBits */
        start local 8 // int sampleSizeInBits
        18: .line 181
      StackMap locals: int
      StackMap stack:
            new javax.sound.sampled.AudioFormat
            dup
            aload 5 /* encoding */
        19: .line 182
            aload 6 /* streamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
        20: .line 183
            iload 8 /* sampleSizeInBits */
        21: .line 184
            aload 6 /* streamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
        22: .line 185
            aload 6 /* streamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
        23: .line 186
            aload 6 /* streamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
        24: .line 187
            iconst_1
        25: .line 181
            invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
            astore 3 /* format */
        26: .line 190
            aload 2 /* stream */
            invokevirtual javax.sound.sampled.AudioInputStream.getFrameLength:()J
            ldc -1
            lcmp
            ifeq 29
        27: .line 191
            aload 2 /* stream */
            invokevirtual javax.sound.sampled.AudioInputStream.getFrameLength:()J
            l2i
            aload 6 /* streamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
            imul
            bipush 24
            iadd
            istore 9 /* fileSize */
        start local 9 // int fileSize
        28: .line 192
            goto 30
        end local 9 // int fileSize
        29: .line 193
      StackMap locals:
      StackMap stack:
            iconst_m1
            istore 9 /* fileSize */
        start local 9 // int fileSize
        30: .line 196
      StackMap locals: int
      StackMap stack:
            new com.sun.media.sound.AuFileFormat
            dup
            getstatic javax.sound.sampled.AudioFileFormat$Type.AU:Ljavax/sound/sampled/AudioFileFormat$Type;
        31: .line 197
            iload 9 /* fileSize */
        32: .line 198
            aload 3 /* format */
        33: .line 199
            aload 2 /* stream */
            invokevirtual javax.sound.sampled.AudioInputStream.getFrameLength:()J
            l2i
        34: .line 196
            invokespecial com.sun.media.sound.AuFileFormat.<init>:(Ljavax/sound/sampled/AudioFileFormat$Type;ILjavax/sound/sampled/AudioFormat;I)V
            astore 4 /* fileFormat */
        35: .line 201
            aload 4 /* fileFormat */
            areturn
        end local 9 // int fileSize
        end local 8 // int sampleSizeInBits
        end local 7 // javax.sound.sampled.AudioFormat$Encoding streamEncoding
        end local 6 // javax.sound.sampled.AudioFormat streamFormat
        end local 5 // javax.sound.sampled.AudioFormat$Encoding encoding
        end local 4 // com.sun.media.sound.AuFileFormat fileFormat
        end local 3 // javax.sound.sampled.AudioFormat format
        end local 2 // javax.sound.sampled.AudioInputStream stream
        end local 1 // javax.sound.sampled.AudioFileFormat$Type type
        end local 0 // com.sun.media.sound.AuFileWriter this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   36     0              this  Lcom/sun/media/sound/AuFileWriter;
            0   36     1              type  Ljavax/sound/sampled/AudioFileFormat$Type;
            0   36     2            stream  Ljavax/sound/sampled/AudioInputStream;
            1   36     3            format  Ljavax/sound/sampled/AudioFormat;
            2   36     4        fileFormat  Lcom/sun/media/sound/AuFileFormat;
            3   36     5          encoding  Ljavax/sound/sampled/AudioFormat$Encoding;
            4   36     6      streamFormat  Ljavax/sound/sampled/AudioFormat;
            5   36     7    streamEncoding  Ljavax/sound/sampled/AudioFormat$Encoding;
           11   12     8  sampleSizeInBits  I
           15   16     8  sampleSizeInBits  I
           18   36     8  sampleSizeInBits  I
           28   29     9          fileSize  I
           30   36     9          fileSize  I
    MethodParameters:
        Name  Flags
      type    
      stream  

  private java.io.InputStream getFileStream(com.sun.media.sound.AuFileFormat, java.io.InputStream);
    descriptor: (Lcom/sun/media/sound/AuFileFormat;Ljava/io/InputStream;)Ljava/io/InputStream;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=9, locals=21, args_size=3
        start local 0 // com.sun.media.sound.AuFileWriter this
        start local 1 // com.sun.media.sound.AuFileFormat auFileFormat
        start local 2 // java.io.InputStream audioStream
         0: .line 209
            aload 1 /* auFileFormat */
            invokevirtual com.sun.media.sound.AuFileFormat.getFormat:()Ljavax/sound/sampled/AudioFormat;
            astore 3 /* format */
        start local 3 // javax.sound.sampled.AudioFormat format
         1: .line 212
            bipush 24
            istore 4 /* headerSize */
        start local 4 // int headerSize
         2: .line 213
            aload 1 /* auFileFormat */
            invokevirtual com.sun.media.sound.AuFileFormat.getFrameLength:()I
            i2l
            lstore 5 /* dataSize */
        start local 5 // long dataSize
         3: .line 216
            lload 5 /* dataSize */
            ldc -1
            lcmp
            ifne 4
            ldc -1
            goto 5
      StackMap locals: javax.sound.sampled.AudioFormat int long
      StackMap stack:
         4: lload 5 /* dataSize */
            aload 3 /* format */
            invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
            i2l
            lmul
      StackMap locals:
      StackMap stack: long
         5: lstore 7 /* dataSizeInBytes */
        start local 7 // long dataSizeInBytes
         6: .line 217
            lload 7 /* dataSizeInBytes */
            ldc 2147483647
            lcmp
            ifle 8
         7: .line 218
            ldc -1
            lstore 7 /* dataSizeInBytes */
         8: .line 220
      StackMap locals: long
      StackMap stack:
            aload 1 /* auFileFormat */
            invokevirtual com.sun.media.sound.AuFileFormat.getAuType:()I
            istore 9 /* encoding_local */
        start local 9 // int encoding_local
         9: .line 221
            aload 3 /* format */
            invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
            f2i
            istore 10 /* sampleRate */
        start local 10 // int sampleRate
        10: .line 222
            aload 3 /* format */
            invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
            istore 11 /* channels */
        start local 11 // int channels
        11: .line 225
            iconst_1
            istore 12 /* bigendian */
        start local 12 // boolean bigendian
        12: .line 227
            aconst_null
            astore 13 /* header */
        start local 13 // byte[] header
        13: .line 228
            aconst_null
            astore 14 /* headerStream */
        start local 14 // java.io.ByteArrayInputStream headerStream
        14: .line 229
            aconst_null
            astore 15 /* baos */
        start local 15 // java.io.ByteArrayOutputStream baos
        15: .line 230
            aconst_null
            astore 16 /* dos */
        start local 16 // java.io.DataOutputStream dos
        16: .line 231
            aconst_null
            astore 17 /* auStream */
        start local 17 // java.io.SequenceInputStream auStream
        17: .line 233
            aconst_null
            astore 18 /* audioStreamFormat */
        start local 18 // javax.sound.sampled.AudioFormat audioStreamFormat
        18: .line 234
            aconst_null
            astore 19 /* encoding */
        start local 19 // javax.sound.sampled.AudioFormat$Encoding encoding
        19: .line 235
            aload 2 /* audioStream */
            astore 20 /* codedAudioStream */
        start local 20 // java.io.InputStream codedAudioStream
        20: .line 239
            aload 2 /* audioStream */
            astore 20 /* codedAudioStream */
        21: .line 241
            aload 2 /* audioStream */
            instanceof javax.sound.sampled.AudioInputStream
            ifeq 38
        22: .line 244
            aload 2 /* audioStream */
            checkcast javax.sound.sampled.AudioInputStream
            invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
            astore 18 /* audioStreamFormat */
        23: .line 245
            aload 18 /* audioStreamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
            astore 19 /* encoding */
        24: .line 248
            getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
            aload 19 /* encoding */
            invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
            ifne 27
        25: .line 249
            getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
            aload 19 /* encoding */
            invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
            ifeq 38
        26: .line 250
            iload 12 /* bigendian */
            aload 18 /* audioStreamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.isBigEndian:()Z
            if_icmpeq 38
        27: .line 256
      StackMap locals: com.sun.media.sound.AuFileWriter com.sun.media.sound.AuFileFormat java.io.InputStream javax.sound.sampled.AudioFormat int long long int int int int byte[] java.io.ByteArrayInputStream java.io.ByteArrayOutputStream java.io.DataOutputStream java.io.SequenceInputStream javax.sound.sampled.AudioFormat javax.sound.sampled.AudioFormat$Encoding java.io.InputStream
      StackMap stack:
            new javax.sound.sampled.AudioFormat
            dup
        28: .line 257
            getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
        29: .line 258
            aload 18 /* audioStreamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
        30: .line 259
            aload 18 /* audioStreamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
        31: .line 260
            aload 18 /* audioStreamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
        32: .line 261
            aload 18 /* audioStreamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
        33: .line 262
            aload 18 /* audioStreamFormat */
            invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
        34: .line 263
            iload 12 /* bigendian */
        35: .line 256
            invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
        36: .line 264
            aload 2 /* audioStream */
            checkcast javax.sound.sampled.AudioInputStream
        37: .line 256
            invokestatic javax.sound.sampled.AudioSystem.getAudioInputStream:(Ljavax/sound/sampled/AudioFormat;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioInputStream;
            astore 20 /* codedAudioStream */
        38: .line 270
      StackMap locals:
      StackMap stack:
            new java.io.ByteArrayOutputStream
            dup
            invokespecial java.io.ByteArrayOutputStream.<init>:()V
            astore 15 /* baos */
        39: .line 271
            new java.io.DataOutputStream
            dup
            aload 15 /* baos */
            invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
            astore 16 /* dos */
        40: .line 274
            iload 12 /* bigendian */
            ifeq 48
        41: .line 275
            aload 16 /* dos */
            ldc 779316836
            invokevirtual java.io.DataOutputStream.writeInt:(I)V
        42: .line 276
            aload 16 /* dos */
            iload 4 /* headerSize */
            invokevirtual java.io.DataOutputStream.writeInt:(I)V
        43: .line 277
            aload 16 /* dos */
            lload 7 /* dataSizeInBytes */
            l2i
            invokevirtual java.io.DataOutputStream.writeInt:(I)V
        44: .line 278
            aload 16 /* dos */
            iload 9 /* encoding_local */
            invokevirtual java.io.DataOutputStream.writeInt:(I)V
        45: .line 279
            aload 16 /* dos */
            iload 10 /* sampleRate */
            invokevirtual java.io.DataOutputStream.writeInt:(I)V
        46: .line 280
            aload 16 /* dos */
            iload 11 /* channels */
            invokevirtual java.io.DataOutputStream.writeInt:(I)V
        47: .line 281
            goto 54
        48: .line 282
      StackMap locals:
      StackMap stack:
            aload 16 /* dos */
            ldc 1684960046
            invokevirtual java.io.DataOutputStream.writeInt:(I)V
        49: .line 283
            aload 16 /* dos */
            aload 0 /* this */
            iload 4 /* headerSize */
            invokevirtual com.sun.media.sound.AuFileWriter.big2little:(I)I
            invokevirtual java.io.DataOutputStream.writeInt:(I)V
        50: .line 284
            aload 16 /* dos */
            aload 0 /* this */
            lload 7 /* dataSizeInBytes */
            l2i
            invokevirtual com.sun.media.sound.AuFileWriter.big2little:(I)I
            invokevirtual java.io.DataOutputStream.writeInt:(I)V
        51: .line 285
            aload 16 /* dos */
            aload 0 /* this */
            iload 9 /* encoding_local */
            invokevirtual com.sun.media.sound.AuFileWriter.big2little:(I)I
            invokevirtual java.io.DataOutputStream.writeInt:(I)V
        52: .line 286
            aload 16 /* dos */
            aload 0 /* this */
            iload 10 /* sampleRate */
            invokevirtual com.sun.media.sound.AuFileWriter.big2little:(I)I
            invokevirtual java.io.DataOutputStream.writeInt:(I)V
        53: .line 287
            aload 16 /* dos */
            aload 0 /* this */
            iload 11 /* channels */
            invokevirtual com.sun.media.sound.AuFileWriter.big2little:(I)I
            invokevirtual java.io.DataOutputStream.writeInt:(I)V
        54: .line 293
      StackMap locals:
      StackMap stack:
            aload 16 /* dos */
            invokevirtual java.io.DataOutputStream.close:()V
        55: .line 294
            aload 15 /* baos */
            invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
            astore 13 /* header */
        56: .line 295
            new java.io.ByteArrayInputStream
            dup
            aload 13 /* header */
            invokespecial java.io.ByteArrayInputStream.<init>:([B)V
            astore 14 /* headerStream */
        57: .line 296
            new java.io.SequenceInputStream
            dup
            aload 14 /* headerStream */
            aload 20 /* codedAudioStream */
            invokespecial java.io.SequenceInputStream.<init>:(Ljava/io/InputStream;Ljava/io/InputStream;)V
            astore 17 /* auStream */
        58: .line 298
            aload 17 /* auStream */
            areturn
        end local 20 // java.io.InputStream codedAudioStream
        end local 19 // javax.sound.sampled.AudioFormat$Encoding encoding
        end local 18 // javax.sound.sampled.AudioFormat audioStreamFormat
        end local 17 // java.io.SequenceInputStream auStream
        end local 16 // java.io.DataOutputStream dos
        end local 15 // java.io.ByteArrayOutputStream baos
        end local 14 // java.io.ByteArrayInputStream headerStream
        end local 13 // byte[] header
        end local 12 // boolean bigendian
        end local 11 // int channels
        end local 10 // int sampleRate
        end local 9 // int encoding_local
        end local 7 // long dataSizeInBytes
        end local 5 // long dataSize
        end local 4 // int headerSize
        end local 3 // javax.sound.sampled.AudioFormat format
        end local 2 // java.io.InputStream audioStream
        end local 1 // com.sun.media.sound.AuFileFormat auFileFormat
        end local 0 // com.sun.media.sound.AuFileWriter this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   59     0               this  Lcom/sun/media/sound/AuFileWriter;
            0   59     1       auFileFormat  Lcom/sun/media/sound/AuFileFormat;
            0   59     2        audioStream  Ljava/io/InputStream;
            1   59     3             format  Ljavax/sound/sampled/AudioFormat;
            2   59     4         headerSize  I
            3   59     5           dataSize  J
            6   59     7    dataSizeInBytes  J
            9   59     9     encoding_local  I
           10   59    10         sampleRate  I
           11   59    11           channels  I
           12   59    12          bigendian  Z
           13   59    13             header  [B
           14   59    14       headerStream  Ljava/io/ByteArrayInputStream;
           15   59    15               baos  Ljava/io/ByteArrayOutputStream;
           16   59    16                dos  Ljava/io/DataOutputStream;
           17   59    17           auStream  Ljava/io/SequenceInputStream;
           18   59    18  audioStreamFormat  Ljavax/sound/sampled/AudioFormat;
           19   59    19           encoding  Ljavax/sound/sampled/AudioFormat$Encoding;
           20   59    20   codedAudioStream  Ljava/io/InputStream;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
              Name  Flags
      auFileFormat  
      audioStream   

  private int writeAuFile(java.io.InputStream, com.sun.media.sound.AuFileFormat, java.io.OutputStream);
    descriptor: (Ljava/io/InputStream;Lcom/sun/media/sound/AuFileFormat;Ljava/io/OutputStream;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=9, args_size=4
        start local 0 // com.sun.media.sound.AuFileWriter this
        start local 1 // java.io.InputStream in
        start local 2 // com.sun.media.sound.AuFileFormat auFileFormat
        start local 3 // java.io.OutputStream out
         0: .line 303
            iconst_0
            istore 4 /* bytesRead */
        start local 4 // int bytesRead
         1: .line 304
            iconst_0
            istore 5 /* bytesWritten */
        start local 5 // int bytesWritten
         2: .line 305
            aload 0 /* this */
            aload 2 /* auFileFormat */
            aload 1 /* in */
            invokevirtual com.sun.media.sound.AuFileWriter.getFileStream:(Lcom/sun/media/sound/AuFileFormat;Ljava/io/InputStream;)Ljava/io/InputStream;
            astore 6 /* fileStream */
        start local 6 // java.io.InputStream fileStream
         3: .line 306
            sipush 4096
            newarray 8
            astore 7 /* buffer */
        start local 7 // byte[] buffer
         4: .line 307
            aload 2 /* auFileFormat */
            invokevirtual com.sun.media.sound.AuFileFormat.getByteLength:()I
            istore 8 /* maxLength */
        start local 8 // int maxLength
         5: .line 309
            goto 18
         6: .line 310
      StackMap locals: com.sun.media.sound.AuFileWriter java.io.InputStream com.sun.media.sound.AuFileFormat java.io.OutputStream int int java.io.InputStream byte[] int
      StackMap stack:
            iload 8 /* maxLength */
            ifle 16
         7: .line 311
            iload 4 /* bytesRead */
            iload 8 /* maxLength */
            if_icmpge 12
         8: .line 312
            aload 3 /* out */
            aload 7 /* buffer */
            iconst_0
            iload 4 /* bytesRead */
            invokevirtual java.io.OutputStream.write:([BII)V
         9: .line 313
            iload 5 /* bytesWritten */
            iload 4 /* bytesRead */
            iadd
            istore 5 /* bytesWritten */
        10: .line 314
            iload 8 /* maxLength */
            iload 4 /* bytesRead */
            isub
            istore 8 /* maxLength */
        11: .line 315
            goto 18
        12: .line 316
      StackMap locals:
      StackMap stack:
            aload 3 /* out */
            aload 7 /* buffer */
            iconst_0
            iload 8 /* maxLength */
            invokevirtual java.io.OutputStream.write:([BII)V
        13: .line 317
            iload 5 /* bytesWritten */
            iload 8 /* maxLength */
            iadd
            istore 5 /* bytesWritten */
        14: .line 318
            iconst_0
            istore 8 /* maxLength */
        15: .line 319
            goto 19
        16: .line 322
      StackMap locals:
      StackMap stack:
            aload 3 /* out */
            aload 7 /* buffer */
            iconst_0
            iload 4 /* bytesRead */
            invokevirtual java.io.OutputStream.write:([BII)V
        17: .line 323
            iload 5 /* bytesWritten */
            iload 4 /* bytesRead */
            iadd
            istore 5 /* bytesWritten */
        18: .line 309
      StackMap locals:
      StackMap stack:
            aload 6 /* fileStream */
            aload 7 /* buffer */
            invokevirtual java.io.InputStream.read:([B)I
            dup
            istore 4 /* bytesRead */
            ifge 6
        19: .line 327
      StackMap locals:
      StackMap stack:
            iload 5 /* bytesWritten */
            ireturn
        end local 8 // int maxLength
        end local 7 // byte[] buffer
        end local 6 // java.io.InputStream fileStream
        end local 5 // int bytesWritten
        end local 4 // int bytesRead
        end local 3 // java.io.OutputStream out
        end local 2 // com.sun.media.sound.AuFileFormat auFileFormat
        end local 1 // java.io.InputStream in
        end local 0 // com.sun.media.sound.AuFileWriter this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   20     0          this  Lcom/sun/media/sound/AuFileWriter;
            0   20     1            in  Ljava/io/InputStream;
            0   20     2  auFileFormat  Lcom/sun/media/sound/AuFileFormat;
            0   20     3           out  Ljava/io/OutputStream;
            1   20     4     bytesRead  I
            2   20     5  bytesWritten  I
            3   20     6    fileStream  Ljava/io/InputStream;
            4   20     7        buffer  [B
            5   20     8     maxLength  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
              Name  Flags
      in            
      auFileFormat  
      out           
}
SourceFile: "AuFileWriter.java"
InnerClasses:
  public Type = javax.sound.sampled.AudioFileFormat$Type of javax.sound.sampled.AudioFileFormat
  public Encoding = javax.sound.sampled.AudioFormat$Encoding of javax.sound.sampled.AudioFormat