<Sound Dev> [13] Review Request: 8222083 Support of "64-bit IEEE floating point" encoding for the AU file format

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Sun Apr 7 07:13:47 UTC 2019

Hello, Audio Guru.

Please review the fix for jdk13.

Bug: https://bugs.openjdk.java.net/browse/JDK-8222083
Fix: http://cr.openjdk.java.net/~serb/8222083/webrev.00

AU file format can contains the data in the float encoding. When support of AU was added to the jdk the float format was not supported. But in jdk 7 PCM_FLOAT was added(for WAV) and it can be reused for AU as well.

In jdk9(JDK-8146239[1]) support of "PCM_FLOAT and 32 sampleSizeInBits" was added. But AU format supports 64-bit as well:
   encoding 7 = 64-bit IEEE floating point

This fix just enable reading and writing of "64-bit IEEE floating point" format in AU reader/writer, everything else is implemented already.

[1] https://bugs.openjdk.java.net/browse/JDK-8146239

Best regards, Sergey.

More information about the sound-dev mailing list