[PATCH] OggEnc improvements
I have some improvements reflected in the attached file vorbis120.patch (sorry, was made with WinMerge and the file paths are from my system):
- Major bug remapping channels. The values in wav_permute_matrix (oggenc\audio.c line 380) must be (instead the commented ones): {0,2,1,3,4}, // {0,1,2,3,4} {0,2,1,4,5,3} // {0,2,1,5,3,4}
- New feature. Support for WAVE_FORMAT_EXTENSIBLE wav headers with only: if (format.format == WAVE_FORMAT_EXTENSIBLE && len > 25) format.format = READ_U16_LE(buf+24);
- New feature. Support wav files 32 bits int. See attached file.
- New parameter --ignorelength. To support wav files > 4 GB or STDIN with datalength ignored. See attached file.