[speex-dev] One Minor Bug (Typo) in Speex 1.0

Robert M. robert.m at ib-caddy.si
Tue May 20 13:04:24 PDT 2003



Speex 1.0 - in file sb_celp.c line 218 change speex_decoder_ctl(...) to 
speex_encoder_ctl(...):

void *sb_encoder_init(SpeexMode *m)
{
.
.
.
   --> speex_decoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, 
&st->sampling_rate);  // Replace
   <-- speex_encoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, 
&st->sampling_rate);

   st->sampling_rate*=2;
   return st;
}


-- 
Best regards

Robert Milharcic
e-mail: robert.milharcic at ib-caddy.si

<p><p><p>--- >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