search for: sbbit

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

Did you mean: swbit
2007 Jul 07
3
In-band user data
...of page 21) states that: "Finally, applications may define custom in-band messages using mode 13. The size of the message in bytes is encoded with 5 bits, so that the decoder can skip it if it doesn?t know how to interpret it." Ok, so I prepend my data as such: speex_bits_pack(&sbBits, 13, 5); speex_bits_pack(&sbBits, length, 5); // bla bla insert my stuff then encode the packet. And this works :) My custom handler, set with SPEEX_SET_USER_HANDLER is called and everything is good. However, I kinda wondered what would happen if that handler WASN'T installed... And th...