Lines Matching refs:BUFFER_SIZE
37 #define BUFFER_SIZE (2000) macro
58 { static short buffer [BUFFER_SIZE] ; in headerless_test()
67 for (k = 0 ; k < BUFFER_SIZE ; k++) in headerless_test()
77 if ((k = sf_write_short (file, buffer, BUFFER_SIZE)) != BUFFER_SIZE) in headerless_test()
78 …{ printf ("Line %d: sf_write_short failed with short write (%d => %d).\n", __LINE__, BUFFER_SIZE, … in headerless_test()
98 if (sfinfo.frames < BUFFER_SIZE) in headerless_test()
99 … Incorrect number of.frames in file. (%d => %" PRId64 ")\n", __LINE__, BUFFER_SIZE, sfinfo.frames)… in headerless_test()
118 { static short buffer [BUFFER_SIZE] ; in old_test()
126 for (k = 0 ; k < BUFFER_SIZE ; k++) in old_test()
138 if ((k = sf_write_short (file, buffer, BUFFER_SIZE)) != BUFFER_SIZE) in old_test()
139 …{ printf ("Line %d: sf_write_short failed with short write (%d => %d).\n", __LINE__, BUFFER_SIZE, … in old_test()
159 if (sfinfo.frames < BUFFER_SIZE) in old_test()
160 … Incorrect number of.frames in file. (%d => %" PRId64 ")\n", __LINE__, BUFFER_SIZE, sfinfo.frames)… in old_test()
171 if ((k = sf_read_short (file, buffer, BUFFER_SIZE)) != BUFFER_SIZE) in old_test()
176 for (k = 0 ; k < BUFFER_SIZE - 22 ; k++) in old_test()