< prev index next >

test/javax/sound/sampled/spi/AudioFileReader/RepeatedFormatReader.java

Print this page

        

@@ -43,14 +43,14 @@
                                         0, 0, // numtracks
                                         0, 1, // timing
     };
 
     private static byte[] headerAU = {0x2e, 0x73, 0x6e, 0x64, // AU_SUN_MAGIC
-                                      0, 0, 0, 0, // headerSize
+                                      0, 0, 0, 24, // headerSize
                                       0, 0, 0, 0, // dataSize
                                       0, 0, 0, 1, // encoding
-                                      0, 0, 0, 0, // sampleRate
+                                      0, 0, 0, 1, // sampleRate
                                       0, 0, 0, 1  // channels
     };
 
     private static byte[] headerWAV = {0x52, 0x49, 0x46, 0x46, // RIFF_MAGIC
                                        1, 1, 1, 1, // fileLength
< prev index next >