Hi David,
In fdmdv2_main.cpp line 3459, we write a second data bit:
bits[bits_per_codec_frame+11] = abit[1]; // spare bit that was unused in 1600
mode
Then in line 3507 we appear to be over-writing it:
bits[bits_per_codec_frame+11] = abit[1]; // spare bit that was unused
in 1600 mode
for(i=bits_per_codec_frame,j=0; i<bits_per_codec_frame+11; i++,j++) {
bits[i] = (codeword1 >> (10-j)) & 0x1;
}
for(j=0; i<bits_per_codec_frame+11+11; i++,j++) {
bits[i] = (codeword2 >> (10-j)) & 0x1; <-- first
iteration of this overwrites.
}
If I am reading this correctly, it didn't ever work in 2000 mode.
Thanks
Bruce
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2