|
From: Martin R. <ru...@us...> - 2004-08-06 05:57:58
|
Update of /cvsroot/foo/foo/libfoo/modules/orthodox In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28716 Modified Files: FOOMExpon.m FOOMFof.m FOOMGate.m FOOMLine.m FOOMLookup.m FOOMReadSnd.m FOOMReadTranspSnd.m FOOMReverb.m FOOMReverb8.m FOOMTransposeSnd.m Log Message: bzero(x, y) -> memset(x, 0, y) Index: FOOMReverb8.m =================================================================== RCS file: /cvsroot/foo/foo/libfoo/modules/orthodox/FOOMReverb8.m,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FOOMReverb8.m 31 Jul 2004 03:05:30 -0000 1.1 --- FOOMReverb8.m 6 Aug 2004 05:57:41 -0000 1.2 *************** *** 580,587 **** else { ! bzero([_buffer data], sizeof(sample_t) * BLOCKSIZE); for (i = 0; i < 8 - 1; i++) { ! bzero([[_buffers objectAtIndex: i] data], sizeof(sample_t) * BLOCKSIZE); } } --- 580,587 ---- else { ! memset([_buffer data], 0, sizeof(sample_t) * BLOCKSIZE); for (i = 0; i < 8 - 1; i++) { ! memset([[_buffers objectAtIndex: i] data], 0, sizeof(sample_t) * BLOCKSIZE); } } Index: FOOMReverb.m =================================================================== RCS file: /cvsroot/foo/foo/libfoo/modules/orthodox/FOOMReverb.m,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FOOMReverb.m 31 Jul 2004 03:05:30 -0000 1.1 --- FOOMReverb.m 6 Aug 2004 05:57:41 -0000 1.2 *************** *** 618,625 **** else { ! bzero([_buffer data], sizeof(sample_t) * BLOCKSIZE); for (i = 0; i < _channels - 1; i++) { ! bzero([[_buffers objectAtIndex: i] data], sizeof(sample_t) * BLOCKSIZE); } } --- 618,625 ---- else { ! memset([_buffer data], 0, sizeof(sample_t) * BLOCKSIZE); for (i = 0; i < _channels - 1; i++) { ! memset([[_buffers objectAtIndex: i] data], 0, sizeof(sample_t) * BLOCKSIZE); } } Index: FOOMLookup.m =================================================================== RCS file: /cvsroot/foo/foo/libfoo/modules/orthodox/FOOMLookup.m,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FOOMLookup.m 4 Aug 2004 06:20:31 -0000 1.2 --- FOOMLookup.m 6 Aug 2004 05:57:41 -0000 1.3 *************** *** 75,79 **** { [super reset]; ! bzero(_samples, _count * sizeof(sample_t)); _offset = -_count; --- 75,79 ---- { [super reset]; ! memset(_samples, 0, _count * sizeof(sample_t)); _offset = -_count; Index: FOOMGate.m =================================================================== RCS file: /cvsroot/foo/foo/libfoo/modules/orthodox/FOOMGate.m,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FOOMGate.m 31 Jul 2004 03:05:29 -0000 1.1 --- FOOMGate.m 6 Aug 2004 05:57:41 -0000 1.2 *************** *** 93,97 **** { b = _begin - SAMPLETIME; ! bzero(out, b * sizeof(sample_t)); } else --- 93,97 ---- { b = _begin - SAMPLETIME; ! memset(out, 0, b * sizeof(sample_t)); } else *************** *** 103,107 **** { e = BLOCKSIZE - (BLOCKEND - _end); ! bzero(out + e, (BLOCKSIZE - e) * sizeof(sample_t)); } else --- 103,107 ---- { e = BLOCKSIZE - (BLOCKEND - _end); ! memset(out + e, 0, (BLOCKSIZE - e) * sizeof(sample_t)); } else Index: FOOMReadTranspSnd.m =================================================================== RCS file: /cvsroot/foo/foo/libfoo/modules/orthodox/FOOMReadTranspSnd.m,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FOOMReadTranspSnd.m 2 Aug 2004 00:43:15 -0000 1.3 --- FOOMReadTranspSnd.m 6 Aug 2004 05:57:41 -0000 1.4 *************** *** 201,205 **** { b = _begin - SAMPLETIME; ! bzero(p, b * sizeof(sample_t)); } else --- 201,205 ---- { b = _begin - SAMPLETIME; ! memset(p, 0, b * sizeof(sample_t)); } else *************** *** 210,214 **** { e = BLOCKSIZE - (BLOCKEND - _end); ! bzero(p + e, (BLOCKSIZE - e) * sizeof(sample_t)); } else --- 210,214 ---- { e = BLOCKSIZE - (BLOCKEND - _end); ! memset(p + e, 0, (BLOCKSIZE - e) * sizeof(sample_t)); } else *************** *** 249,253 **** { b = _begin - SAMPLETIME; ! bzero(out, b * sizeof(sample_t)); out += b; n -= b; --- 249,253 ---- { b = _begin - SAMPLETIME; ! memset(out, 0, b * sizeof(sample_t)); out += b; n -= b; Index: FOOMTransposeSnd.m =================================================================== RCS file: /cvsroot/foo/foo/libfoo/modules/orthodox/FOOMTransposeSnd.m,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FOOMTransposeSnd.m 4 Aug 2004 06:20:31 -0000 1.3 --- FOOMTransposeSnd.m 6 Aug 2004 05:57:41 -0000 1.4 *************** *** 94,98 **** { [super reset]; ! bzero(_samples, _count * sizeof(sample_t)); [self initPos]; --- 94,98 ---- { [super reset]; ! memset(_samples, 0, _count * sizeof(sample_t)); [self initPos]; *************** *** 150,154 **** { b = _begin - SAMPLETIME; ! bzero(out, b * sizeof(sample_t)); in += b; out += b; --- 150,154 ---- { b = _begin - SAMPLETIME; ! memset(out, 0, b * sizeof(sample_t)); in += b; out += b; Index: FOOMReadSnd.m =================================================================== RCS file: /cvsroot/foo/foo/libfoo/modules/orthodox/FOOMReadSnd.m,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FOOMReadSnd.m 1 Aug 2004 23:39:20 -0000 1.2 --- FOOMReadSnd.m 6 Aug 2004 05:57:41 -0000 1.3 *************** *** 100,104 **** { b = _begin - SAMPLETIME; ! bzero(p, b * sizeof(sample_t)); } else --- 100,104 ---- { b = _begin - SAMPLETIME; ! memset(p, 0, b * sizeof(sample_t)); } else *************** *** 109,113 **** { e = BLOCKSIZE - (BLOCKEND - _end); ! bzero(p + e, (BLOCKSIZE - e) * sizeof(sample_t)); } else --- 109,113 ---- { e = BLOCKSIZE - (BLOCKEND - _end); ! memset(p + e, 0, (BLOCKSIZE - e) * sizeof(sample_t)); } else Index: FOOMFof.m =================================================================== RCS file: /cvsroot/foo/foo/libfoo/modules/orthodox/FOOMFof.m,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FOOMFof.m 31 Jul 2004 03:05:29 -0000 1.1 --- FOOMFof.m 6 Aug 2004 05:57:41 -0000 1.2 *************** *** 439,443 **** f0p += offset; frp += offset; bwp += offset; amp += offset; txp += offset; dbp += offset; atp += offset; ! bzero(out, offset * sizeof(sample_t)); out += offset; n -= offset; --- 439,443 ---- f0p += offset; frp += offset; bwp += offset; amp += offset; txp += offset; dbp += offset; atp += offset; ! memset(out, 0, offset * sizeof(sample_t)); out += offset; n -= offset; Index: FOOMLine.m =================================================================== RCS file: /cvsroot/foo/foo/libfoo/modules/orthodox/FOOMLine.m,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FOOMLine.m 31 Jul 2004 03:05:30 -0000 1.1 --- FOOMLine.m 6 Aug 2004 05:57:41 -0000 1.2 *************** *** 99,103 **** { b = _begin - SAMPLETIME; ! bzero(p, b * sizeof(sample_t)); } else --- 99,103 ---- { b = _begin - SAMPLETIME; ! memset(p, 0, b * sizeof(sample_t)); } else *************** *** 108,112 **** { e = BLOCKSIZE - (BLOCKEND - _end); ! bzero(p + e, (BLOCKSIZE - e) * sizeof(sample_t)); } else --- 108,112 ---- { e = BLOCKSIZE - (BLOCKEND - _end); ! memset(p + e, 0, (BLOCKSIZE - e) * sizeof(sample_t)); } else Index: FOOMExpon.m =================================================================== RCS file: /cvsroot/foo/foo/libfoo/modules/orthodox/FOOMExpon.m,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FOOMExpon.m 31 Jul 2004 03:05:29 -0000 1.1 --- FOOMExpon.m 6 Aug 2004 05:57:41 -0000 1.2 *************** *** 102,106 **** { b = _begin - SAMPLETIME; ! bzero(p, b * sizeof(sample_t)); } else --- 102,106 ---- { b = _begin - SAMPLETIME; ! memset(p, 0, b * sizeof(sample_t)); } else *************** *** 112,116 **** { e = BLOCKSIZE - (BLOCKEND - _end); ! bzero(p + e, (BLOCKSIZE - e) * sizeof(sample_t)); } else --- 112,116 ---- { e = BLOCKSIZE - (BLOCKEND - _end); ! memset(p + e, 0, (BLOCKSIZE - e) * sizeof(sample_t)); } else |