AW: [speex-dev] SPEEX_SET_USER_HANDLER once again

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Fri Nov 7 12:02:34 PST 2003


Le ven 07/11/2003 à 13:37, Norman Biehl a écrit :
> Jean-Marc wrote:
> 
> >I think what happened is that you did not write the "message" length.
> >With user-callbacks, you also need to say how large the message. The
> >size is in bytes and encoded in 4 bits.
> 
> I wonder what is correct. Inside speex the documentation was written
> that the size in byte is encoded within 5 bit.
>  
> I changed the code in both ways, but it doesn't work anytime. It's the
> same problem. See below.

I guess you'll need to somehow trace what's happening.

> >Besides, you're probably the first one to use user-callbacks. 
> 
> Oh, I feel honoured. :-)
> 
> Why does it contain this feature if nobody uses it? I think it's a good
> and very flexible feature (if it works :-)).

I thought it could be useful in some cases, but you're the first to find
a use for it.

> >BTW, why
> >didn't you want to use Ogg. It's much simpler to use and overhead can
> be
> >made minimal anyway.
> 
> At first there is no need for ogg, the programm is only for encoding
> voice in a test environment. 
> And if the user in-band callback mechanism works it is more then enough.

The reason I suggest Ogg is that it takes care of everything. It makes
the file readable everywhere and I don't see any reason not to use it.

        Jean-Marc


-- 
Jean-Marc Valin, M.Sc.A., ing. jr.
LABORIUS (http://www.gel.usherb.ca/laborius)
Université de Sherbrooke, Québec, Canada


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message numériquement signée
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20031107/40166edd/signature.pgp


More information about the Speex-dev mailing list