[xiph-cvs] r6469 - branches/rel-1-0-branch/speex/libspeex

jm at xiph.org jm at xiph.org
Tue Mar 30 00:54:17 PST 2004



Author: jm
Date: 2004-03-30 03:54:16 -0500 (Tue, 30 Mar 2004)
New Revision: 6469

Modified:
   branches/rel-1-0-branch/speex/libspeex/sb_celp.c
Log:
oops... should call speex_encoder_ctl from the encoder.

<p>Modified: branches/rel-1-0-branch/speex/libspeex/sb_celp.c
===================================================================
--- branches/rel-1-0-branch/speex/libspeex/sb_celp.c	2004-03-30 08:52:52 UTC (rev 6468)
+++ branches/rel-1-0-branch/speex/libspeex/sb_celp.c	2004-03-30 08:54:16 UTC (rev 6469)
@@ -215,7 +215,7 @@
    st->relative_quality=0;
 
    st->complexity=2;
-   speex_decoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, &st->sampling_rate);
+   speex_encoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, &st->sampling_rate);
    st->sampling_rate*=2;
 
    return st;

--- >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 'cvs-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 commits mailing list