search for: from_vorbi

Displaying 1 result from an estimated 1 matches for "from_vorbi".

Did you mean: from_vorbis
2012 Jul 04
0
oggdec channel ordering bug
...c has the following code: permute = {0,2,1,4,5,3} // oggenc/audio.c:401 for (j) to_vorbis[j] = from_wav[permute[j]] // oggenc/audio.c:619 While oggdec has the following code: permute = {0,2,1,5,3,4} // oggdec/oggdec.c:229 for (j) to_wav[permute[j]] = from_vorbis[j] // oggdec/oggdec.c:240 You can notice the permutation vectors are reciprocal to each other and that the code apply them in the opposite direction. Both inversions cancel each-other. After more careful checking with the specs, oggenc is right and oggdec is wrong. Note that this is for 5.1; 5....