<Sound Dev> [9] Review Request: 8135088 Typo in AuFileReader
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Sat Dec 19 00:05:18 UTC 2015
Thanks Alex.
Any volunteers for a second reviewer?
FYI
- I just found that our audio_writers still incorrectly handle the
"new" PCM_FLOAT format which was added in jdk7. I will fix it in my next
review request.
- Also I found that "AudioFileFormat.Type.SND" is not used, probably
someone know why?
On 16/12/15 21:26, Alex Menkov wrote:
> The fix looks good.
>
> --alex
>
> On 16.12.2015 16:16, Sergey Bylokhov wrote:
>> Hello, Audio Guru.
>>
>> Please review the fix for jdk9.
>>
>> Long long time ago support of AU format was implemented with assumption
>> to support a few standards:
>> - ".snd"(official SUN standard)
>> - "\0ds." (extension DEC)
>> Also we support both big/little-endian.
>>
>> But later we removed support of little-endian from the writer in the
>> https://bugs.openjdk.java.net/browse/JDK-4297100
>>
>> And now after a manual code review I found that we actually never
>> supported little-endian/DEC, because of the typo in AuFileReader.java
>>
>> As a fix I suggest to drop support of non standard extensions, and work
>> only in case of ".snd" + big-endian.
>>
>> Description of AU standard: https://en.wikipedia.org/wiki/Au_file_format
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8135088
>> Webrev can be found at:
>> http://cr.openjdk.java.net/~serb/8135088/webrev.00
>>
--
Best regards, Sergey.
More information about the sound-dev
mailing list