[Speex-dev] memory usage

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Tue Mar 1 15:01:18 PST 2005


> what about this value in bits.c:
> 
> #define MAX_BYTES_PER_FRAME 2000
> 
> 
> now there is _almost_ enough RAM to allocate both encoder and decoder ;)

2000 is the max value possible when you have the largest bit-rate and 10
frames per packet. If you're using only 8 kbps and one frame per packet,
then 20 is the size you'll need (might want to use 22 just to make
sure).

	Jean-Marc

-- 
Jean-Marc Valin <Jean-Marc.Valin at USherbrooke.ca>
Universite de Sherbrooke



More information about the Speex-dev mailing list