Lines Matching defs:BUFFER_LEN
37 #define BUFFER_LEN (1 << 10)
213 static short data_out [BUFFER_LEN] ;
241 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ;
257 if (sfinfo.frames != BUFFER_LEN)
258 { printf ("***** Bad frame count %d (should be %d)\n\n", (int) sfinfo.frames, BUFFER_LEN) ;
415 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ;
423 if (sfinfo.frames != BUFFER_LEN)
424 { printf ("***** Bad frame count %d (should be %d)\n\n", (int) sfinfo.frames, BUFFER_LEN) ;
573 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ;
676 sf_count_t frames = BUFFER_LEN ;
691 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ;
806 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ;
817 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ;
821 /* Now open file again. It should now contain two BUFFER_LEN's worth of frames and the strings. */
822 frames = 2 * BUFFER_LEN / sfinfo.channels ;
860 test_write_short_or_die (file, 0, data_out, BUFFER_LEN, __LINE__) ;
873 /* The file should now contain BUFFER_LEN + GROW_BUFFER_AMOUNT frames.
878 frames = (BUFFER_LEN + GROW_BUFFER_AMOUNT) / sfinfo.channels ;
897 frames = (BUFFER_LEN + 2*GROW_BUFFER_AMOUNT) / sfinfo.channels ;