[Speex-dev] SpeexBits ...

Marian Kechlibar marian.kechlibar at circletech.net
Tue Nov 24 02:20:20 PST 2009


One more question:

Let us imagine the following code with a mono Speex NB encoder:

SpeexBits b1;
SpeexBits b2;
... initialization...
speex_encode(state, some320bytePCM1, &b1);
speex_encode(state, some320bytePCM2, &b2);

Now, I have a single frame in the structure b1 and a single frame in the
structure b2. How do I "append" the frame from b1 to b2 using speex_bits
(while keeping the RFC 5574 format for Speex frames?) Do I have to
export b2 first?

Best regards

Marian Kechlibar


More information about the Speex-dev mailing list