Lines Matching refs:__LINE__

141 	file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, 0, __LINE__) ;
156 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, 0, __LINE__) ;
159 { printf ("\n\nLine %d: Returned format incorrect (0x%08X => 0x%08X).\n", __LINE__, filetype, sfinfo.format) ;
164 { printf ("\n\nLine %d: Incorrect number of frames in file. (%d => %ld)\n", __LINE__, frames, (long) sfinfo.frames) ;
169 { printf ("\n\nLine %d: Incorrect number of channels in file.\n", __LINE__) ;
175 { printf ("\n\nLine %d: Command should have returned SF_TRUE.\n", __LINE__) ;
180 { printf ("\n\nLine %d: Bad peak value (%f should be %f) for command SFC_GET_SIGNAL_MAX.\n", __LINE__, data [0], (frames / 2) * 0.01) ;
185 { printf ("\n\nLine %d: Command should have returned SF_TRUE.\n", __LINE__) ;
190 { printf ("\n\nLine %d: Bad peak value (%f should be %f) for command SFC_GET_MAX_ALL_CHANNELS.\n", __LINE__, data [0], (frames / 2) * 0.01) ;
199 { printf ("\n\nLine %d: Empty log buffer,\n", __LINE__) ;
208 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, 0, __LINE__) ;
223 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, 0, __LINE__) ;
227 { printf ("\n\nLine %d: Command should have returned SF_FALSE.\n", __LINE__) ;
232 { printf ("\n\nLine %d: Command should have returned SF_FALSE.\n", __LINE__) ;
241 { printf ("\n\nLine %d: Empty log buffer,\n", __LINE__) ;
246 { printf ("\n\nLine %d: Should not have a PEAK chunk in this file.\n\n", __LINE__) ;
264 { printf ("\n\nLine %d: Something wrong in buffer. Dumping.\n", __LINE__) ;
276 { printf ("\n\nLine %d: Couldn't find channel count.\n", __LINE__) ;
281 { printf ("\n\nLine %d: Wrong channel count (4 ->%d).\n", __LINE__, channel_count) ;
286 { printf ("\n\nLine %d: Can't find PEAK data.\n", __LINE__) ;
292 { printf ("\n\nLine %d: Got lost.\n", __LINE__) ;
296 { printf ("\n\nLine %d: sscanf failed.\n", __LINE__) ;
300 { printf ("\n\nLine %d: peak position for channel %d should not be at offset 0.\n", __LINE__, chan) ;
305 { printf ("\n\nLine %d: Error : peak value incorrect!\n", __LINE__) ;
307 printf ("\n\nLine %d: %d %f %f\n", __LINE__, chan, position * 0.01, value) ;
334 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ;
338 test_write_double_or_die (file, 0, small_data, ARRAY_LEN (small_data), __LINE__) ;
343 file = test_open_file_or_die (filename, SFM_RDWR, &sfinfo, SF_FALSE, __LINE__) ;
348 test_write_double_or_die (file, 0, small_data, ARRAY_LEN (small_data), __LINE__) ;
354 exit_if_true (max_peak < 0.1, "\n\nLine %d : max peak (%5.3f) should not be 0.1.\n\n", __LINE__, max_peak) ;
357 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ;
360 "Line %d : frame count is %" PRId64 ", should be %zd\n", __LINE__, sfinfo.frames, 2 * ARRAY_LEN (small_data)) ;
366 exit_if_true (max_peak < 1.0, "\n\nLine %d : max peak (%5.3f) should be 1.0.\n\n", __LINE__, max_peak) ;