Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/speex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmvalin <jmvalin@0101bb08-14d6-0310-b084-bc0e0c8e3800>2002-06-04 08:10:13 +0400
committerjmvalin <jmvalin@0101bb08-14d6-0310-b084-bc0e0c8e3800>2002-06-04 08:10:13 +0400
commit999c8442cb7f11b8843fe6b6a6e375c3c31e037f (patch)
treebb088219077d66f67f385ee4b086815e16691b39
parenta91db08627ee45850ca88d3e7408a7a295361968 (diff)
Last modifs for 0.1.2Speex-0.1.2
git-svn-id: http://svn.xiph.org/trunk/speex@3346 0101bb08-14d6-0310-b084-bc0e0c8e3800
-rw-r--r--Speex.spec2
-rw-r--r--libspeex/nb_celp.c3
-rw-r--r--src/speexdec.c2
3 files changed, 4 insertions, 3 deletions
diff --git a/Speex.spec b/Speex.spec
index 749cae0..78af316 100644
--- a/Speex.spec
+++ b/Speex.spec
@@ -1,5 +1,5 @@
%define name Speex
-%define ver 0.1.1
+%define ver 0.1.2
%define rel 1
Summary: An open-source, patent-free speech codec
diff --git a/libspeex/nb_celp.c b/libspeex/nb_celp.c
index ce9fc4a..8f6f52a 100644
--- a/libspeex/nb_celp.c
+++ b/libspeex/nb_celp.c
@@ -497,8 +497,9 @@ void nb_encode(void *state, float *in, SpeexBits *bits)
for (i=0;i<st->subframeSize;i++)
enoise += target[i]*target[i];
snr = 10*log10((esig+1)/(enoise+1));
-
+#ifdef DEBUG
printf ("seg SNR = %f\n", snr);
+#endif
/*Keep the previous memory*/
for (i=0;i<st->lpcSize;i++)
diff --git a/src/speexdec.c b/src/speexdec.c
index efbb902..bd541c8 100644
--- a/src/speexdec.c
+++ b/src/speexdec.c
@@ -39,7 +39,7 @@ void usage()
void version()
{
- fprintf (stderr, "Speex encoder version " VERSION "\n");
+ fprintf (stderr, "Speex decoder version " VERSION "\n");
}
int main(int argc, char **argv)