From: drowe67 Date: Mon, 30 Jan 2017 23:43:27 +0000 (+0000) Subject: fixed bug in block based output, scatter looks OK, and about 10% CPU load for tx X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=09656ce46c0d0b5c23f5952fd20ef4d9f1227bc1;p=freetel-svn-tracking.git 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 --- 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);