Searched refs:small_data (Results 1 – 1 of 1) sorted by relevance
/third_party/libsnd/tests/ |
D | peak_chunk_test.c | 320 double small_data [10], max_peak = 0.0 ; in read_write_peak_test() local 325 for (k = 0 ; k < ARRAY_LEN (small_data) ; k ++) in read_write_peak_test() 326 small_data [k] = 0.1 ; in read_write_peak_test() 338 test_write_double_or_die (file, 0, small_data, ARRAY_LEN (small_data), __LINE__) ; in read_write_peak_test() 345 for (k = 0 ; k < ARRAY_LEN (small_data) ; k ++) in read_write_peak_test() 346 small_data [k] = 1.0 ; in read_write_peak_test() 348 test_write_double_or_die (file, 0, small_data, ARRAY_LEN (small_data), __LINE__) ; in read_write_peak_test() 359 exit_if_true (sfinfo.channels * sfinfo.frames != 2 * ARRAY_LEN (small_data), in read_write_peak_test() 360 …rame count is %" PRId64 ", should be %zd\n", __LINE__, sfinfo.frames, 2 * ARRAY_LEN (small_data)) ; in read_write_peak_test()
|