< prev index next >

src/java.desktop/share/classes/com/sun/media/sound/AuFileFormat.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -43,12 +43,12 @@
     static final int AU_LINEAR_8     = 2;  /* 8-bit linear PCM */
     static final int AU_LINEAR_16    = 3;  /* 16-bit linear PCM */
     static final int AU_LINEAR_24    = 4;  /* 24-bit linear PCM */
     static final int AU_LINEAR_32    = 5;  /* 32-bit linear PCM */
     static final int AU_FLOAT        = 6;  /* 32-bit IEEE floating point */
-    static final int AU_DOUBLE       = 7;  /* 64-bit IEEE floating point */
 //  we don't support these ...
+//  static final int AU_DOUBLE       = 7;  /* 64-bit IEEE floating point */
 //  static final int AU_ADPCM_G721   = 23; /* 4-bit CCITT g.721 ADPCM */
 //  static final int AU_ADPCM_G722   = 24; /* CCITT g.722 ADPCM */
 //  static final int AU_ADPCM_G723_3 = 25; /* CCITT g.723 3-bit ADPCM */
 //  static final int AU_ADPCM_G723_5 = 26; /* CCITT g.723 5-bit ADPCM */
     static final int AU_ALAW_8       = 27; /* 8-bit ISDN A-law */

@@ -91,12 +91,10 @@
                 auType = AU_LINEAR_32;
             }
         } else if (AudioFormat.Encoding.PCM_FLOAT.equals(encoding)) {
             if (format.getSampleSizeInBits() == 32) {
                 auType = AU_FLOAT;
-            } else if (format.getSampleSizeInBits() == 64) {
-                auType = AU_DOUBLE;
             }
         }
     }
 
     public int getAuType() {
< prev index next >