[issue32990] Supporting extensible format(PCM) for wave.open(read-mode)

2018-03-03 Thread Andrea Celletti
Andrea Celletti added the comment: I am currently working on a patch for this. When done can I try pushing this in 3.7 rather than 3.8? It is not much of an enhancement but rather fixing the code that raises an error for a perfectly valid PCM wave file (bugfix). -- versions

[issue32990] Supporting extensible format(PCM) for wave.open(read-mode)

2018-03-03 Thread Andrea Celletti
New submission from Andrea Celletti : The wave.Wave_read class currently supports 8, 16, 24, and 32 bit PCM files. Wave files are only supported if the wFormatTag in the format chunk matches the flag WAVE_FORMAT_PCM, which is correct but incomplete for 24 bit files. According to the