diff options
Diffstat (limited to 'gr-vocoder/lib/codec2/c2demo.c')
-rw-r--r-- | gr-vocoder/lib/codec2/c2demo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-vocoder/lib/codec2/c2demo.c b/gr-vocoder/lib/codec2/c2demo.c index 0090069c65..9cd11d490e 100644 --- a/gr-vocoder/lib/codec2/c2demo.c +++ b/gr-vocoder/lib/codec2/c2demo.c @@ -33,6 +33,7 @@ #include "codec2.h" #include "sine.h" +#include "dump.h" #include <stdio.h> #include <stdlib.h> @@ -85,7 +86,7 @@ int main(int argc, char *argv[]) while(fread(buf, sizeof(short), nsam, fin) == (size_t)nsam) { codec2_encode(codec2, bits, buf); - codec2_decode(codec2, buf, bits, 0.0); + codec2_decode(codec2, buf, bits); fwrite(buf, sizeof(short), nsam, fout); } |