From 09656ce46c0d0b5c23f5952fd20ef4d9f1227bc1 Mon Sep 17 00:00:00 2001 From: drowe67 Date: Mon, 30 Jan 2017 23:43:27 +0000 Subject: [PATCH] fixed bug in block based output, scatter looks OK, and about 10% CPU load for tx git-svn-id: https://svn.code.sf.net/p/freetel/code@3010 01035d8c-6547-0410-b346-abe4f91aad63 --- codec2-dev/unittest/tlininterp.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/codec2-dev/unittest/tlininterp.c b/codec2-dev/unittest/tlininterp.c index fe0373cd..8a34387b 100644 --- a/codec2-dev/unittest/tlininterp.c +++ b/codec2-dev/unittest/tlininterp.c @@ -82,7 +82,7 @@ int main(int argc, char *argv[]) { while (t < 1.0) { for (i=0; i> 8; } - fwrite(&out_s8, sizeof(int8_t)*channels, j, fout); + fwrite(&out_s8, sizeof(int8_t), j, fout); } fclose(fout); -- 2.25.1