< prev index next >

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

Print this page

        

*** 1,7 **** /* ! * 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 --- 1,7 ---- /* ! * Copyright (c) 1999, 2019, 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
*** 99,114 **** break; case AuFileFormat.AU_FLOAT: encoding = AudioFormat.Encoding.PCM_FLOAT; sampleSizeInBits = 32; break; ! // we don't support these ... ! /* case AuFileFormat.AU_DOUBLE: ! encoding = new AudioFormat.DOUBLE; ! sampleSizeInBits = 8; break; ! case AuFileFormat.AU_ADPCM_G721: encoding = new AudioFormat.G721_ADPCM; sampleSizeInBits = 16; break; case AuFileFormat.AU_ADPCM_G723_3: encoding = new AudioFormat.G723_3; --- 99,114 ---- break; case AuFileFormat.AU_FLOAT: encoding = AudioFormat.Encoding.PCM_FLOAT; sampleSizeInBits = 32; break; ! case AuFileFormat.AU_DOUBLE: ! encoding = AudioFormat.Encoding.PCM_FLOAT; ! sampleSizeInBits = 64; break; ! // we don't support these ... ! /* case AuFileFormat.AU_ADPCM_G721: encoding = new AudioFormat.G721_ADPCM; sampleSizeInBits = 16; break; case AuFileFormat.AU_ADPCM_G723_3: encoding = new AudioFormat.G723_3;
< prev index next >