[Vorbis-dev] 5.1 surround channel coupling
Sebastian Olter
qduaty at gmail.com
Mon Feb 12 18:17:23 PST 2007
PATCH:
Two lines have to be changed in audio.c to prevent oggenc (1.0.2) from
rejecting wave-ex/amb files:
389c389
< if(len!=16 && len!=18)
---
> if(len!=16 && len!=18 && len != 40) /* 40 is wave-ex */
415c415
< if(format.format == 1)
---
> if(format.format == 1 || format.format == -2) /* -2 is wave-ex (at least on x86) */
Tested with about 20 files, 3 and 4 channel, 16 and 24 bits, x86 and
(windows) x86-64 compiler architecture.
More information about the Vorbis-dev
mailing list