[speex-dev] Speex wishlist

Trevor Yensen tyensen at sympatico.ca
Fri Dec 13 08:09:36 PST 2002

        I was wondering if you could add a check to ensure that memory is actually
allocated during the nb_encoder_init and sb_encoder_init functions.  We have
been looking at using Speex on a DSP and noticed that if we didn't allocate
a large enough heap space memory segment that the DSP would crash.  I would
recommend something like:
if (!st->stack) fprintf(stderr,"ERROR could not allocate memory for stack");

        Also, is it necessary to allocate 20000 floats for stack space.  Have you
ever profiled the amount of stack space consumed?  We tried a few values for
the stack size and checked for stability.  This isn't the most rigorous
check...  However, we did reduce the stack size down to 5000 in both nb and
sb_encoder_init functions and we were able to successfully encode at quality
6, wideband, complexity 3.  On a DSP memory can be scarce, so we may need to
cut this down some more if possible.

Trevor Yensen
AvalonDSP Consulting Inc

<p><p>-----Original Message-----
From: owner-speex-dev at xiph.org [mailto:owner-speex-dev at xiph.org]On
Behalf Of Jean-Marc Valin
Sent: Friday, December 13, 2002 1:21 AM
To: speex
Subject: [speex-dev] Speex wishlist


Speex is getting close to beta4, which I'd like to be feature-complete
(or as close as possible). That's why I'd like to ask if anyone here has
needs for a feature that hasn't been implemented yet. If so, please let
me know.

For those interested, here's what's going to be in beta4. First, the VBR
code has been greatly improved and now works good with wideband too.
There are also improvements in the packet concealment code and the VAD
(Voice Activity Detection). It's also possible to have the VAD without
VBR, so that Speex does comfort noise generation during silence, but
otherwise constant bit-rate. Last thing, the 2.15 kbps mode now has a
better (OK, less ugly) quality.


Jean-Marc Valin, M.Sc.A.
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