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