[speex-dev] API changes for Speex 1.2

Chris Flerackers cflerackers at androme.be
Tue Apr 6 06:21:32 PDT 2004


Maybe a review of the configuration options would be interesting?
Make all options like

So you would have

and then
would also make sense: e.g. set vbr_quality so that the average bitrate
is as specified.

Now it is easy to make a mistake when configuring the encoder (because
now abr/cbr/vbr is sometimes set separately from bitrate/mode/quality).

It would also be nice if there is a intuitive mapping between the RFC
options and
the encoder configuration. Examples:
- how to configure encoder when SDP specifies: b=AS:10 and vbr
- how to configure encoder when SDP specifies: cng

Best regards,

> ----- Original Message ----- 
> From: "Jean-Marc Valin" <Jean-Marc.Valin at USherbrooke.ca>
> To: "speex" <speex-dev at xiph.org>
> Sent: Wednesday, March 17, 2004 9:23 AM
> Subject: [speex-dev] API changes for Speex 1.2
> Hi,
> Speex is progressing and I've started thinking about the next 1.2
> release (don't hold your breath). Though the bit-stream won't change,
> the API likely will. The API for 1.1.x already differs from 1.0.x
> because the speex_encode and speex_decode now use shorts instead of
> floats. Now, since I'm changing the API anyway, I thought I might as
> well fix things that might be annoying with the current API.
> So, I'm open to suggestions from people who have used Speex before and
> think some things should be changed. These are a couple things I'm
> already considering:
> - allow the user to provide his own buffer for the *init() functions
> (instead of having Speex itself call malloc)
> - allow the user to override the internal stack used by the encoder and
> decoder (saves memory when using a large number of encoder/decoder
> states)
>         Jean-Marc
> -- 
> Jean-Marc Valin, M.Sc.A., ing. jr.
> LABORIUS (http://www.gel.usherb.ca/laborius)
> Université de Sherbrooke, Québec, Canada

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'speex-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Speex-dev mailing list