Lines Matching refs:frames
669 sfinfo.frames = 123456789 ; /* Ridiculous value. */
690 if (sfinfo.frames < datalen / channels)
691 { printf ("Too few frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", sfinfo.frames, datalen) ;
695 if (sfinfo.frames > (datalen + datalen / 20))
696 { printf ("Too many frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", sfinfo.frames, datalen) ;
726 if ((k = (int) sf_readf_short (file, data, datalen)) != sfinfo.frames - datalen)
728 channels * sfinfo.frames - datalen, k) ;
735 for (k = 0 ; k < sfinfo.frames - datalen ; k++)
807 sf_seek (file, sfinfo.frames, SEEK_SET) ;
815 if ((k = (int) sf_seek (file, 5 - sfinfo.frames, SEEK_END)) != 5)
867 sfinfo.frames = 123456789 ; /* Ridiculous value. */
888 if (sfinfo.frames < datalen / channels)
889 { printf ("Too few.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", datalen, sfinfo.frames) ;
893 if (sfinfo.frames > (datalen + datalen / 20))
894 { printf ("Too many.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", datalen, sfinfo.frames) ;
924 if ((k = (int) sf_readf_int (file, data, datalen)) != sfinfo.frames - datalen)
926 channels * sfinfo.frames - datalen, k) ;
934 for (k = 0 ; k < sfinfo.frames - datalen ; k++)
1005 sf_seek (file, sfinfo.frames, SEEK_SET) ;
1013 if ((k = (int) sf_seek (file, 5 - sfinfo.frames, SEEK_END)) != 5)
1055 sfinfo.frames = 123456789 ; /* Ridiculous value. */
1077 if (sfinfo.frames < datalen / channels)
1078 { printf ("Too few.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", datalen, sfinfo.frames) ;
1082 if (sfinfo.frames > (datalen + datalen / 20))
1083 { printf ("Too many.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", datalen, sfinfo.frames) ;
1119 if ((k = (int) sf_readf_float (file, data, datalen)) != sfinfo.frames - datalen)
1121 channels * sfinfo.frames - datalen, k) ;
1129 for (k = 0 ; k < sfinfo.frames - datalen ; k++)
1200 sf_seek (file, sfinfo.frames, SEEK_SET) ;
1208 if ((k = (int) sf_seek (file, 5 - sfinfo.frames, SEEK_END)) != 5)
1250 sfinfo.frames = 123456789 ; /* Ridiculous value. */
1272 if (sfinfo.frames < datalen / channels)
1273 { printf ("Too few.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", datalen, sfinfo.frames) ;
1277 if (sfinfo.frames > (datalen + datalen / 20))
1278 { printf ("Too many.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", datalen, sfinfo.frames) ;
1314 if ((k = (int) sf_readf_double (file, data, datalen)) != sfinfo.frames - datalen)
1316 channels * sfinfo.frames - datalen, k) ;
1324 for (k = 0 ; k < sfinfo.frames - datalen ; k++)
1395 sf_seek (file, sfinfo.frames, SEEK_SET) ;
1403 if ((k = (int) sf_seek (file, 5 - sfinfo.frames, SEEK_END)) != 5)
1448 sfinfo.frames = 123456789 ; /* Ridiculous value. */
1501 if (sfinfo.frames < datalen / channels)
1502 { printf ("Too few.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", datalen, sfinfo.frames) ;
1506 if (sfinfo.frames > (datalen + 400))
1507 { printf ("Too many.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", sfinfo.frames, datalen) ;
1543 if ((k = (int) sf_read_short (file, data, datalen)) != sfinfo.frames - datalen)
1544 { printf ("\n\nLine %d: Incorrect read length (%d should be %" PRId64 ").\n", __LINE__, k, sfinfo.frames - datalen) ;
1550 for (k = 0 ; k < sfinfo.frames - datalen ; k++)
1617 sf_seek (file, sfinfo.frames, SEEK_SET) ;
1626 if ((k = (int) sf_seek (file, 5 - sfinfo.frames, SEEK_END)) != 5)
1670 sfinfo.frames = 123456789 ; /* Ridiculous value. */
1723 if (sfinfo.frames < datalen / channels)
1724 { printf ("Too few.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", datalen, sfinfo.frames) ;
1728 if (sfinfo.frames > (datalen + 400))
1729 { printf ("Too many.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", sfinfo.frames, datalen) ;
1761 if ((k = (int) sf_readf_int (file, data, datalen)) != sfinfo.frames - datalen)
1762 { printf ("\n\nLine %d: Incorrect read length (%d should be %" PRId64 ").\n", __LINE__, k, sfinfo.frames - datalen) ;
1774 for (k = 0 ; k < sfinfo.frames - datalen ; k++)
1841 sf_seek (file, sfinfo.frames, SEEK_SET) ;
1850 if ((k = (int) sf_seek (file, 5 - sfinfo.frames, SEEK_END)) != 5)
1916 sfinfo.frames = 123456789 ; /* Ridiculous value. */
1971 if (sfinfo.frames < datalen / channels)
1972 { printf ("Too few.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", datalen, sfinfo.frames) ;
1976 if (sfinfo.frames > (datalen + 400))
1977 { printf ("Too many.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", sfinfo.frames, datalen) ;
2014 if ((k = (int) sf_read_float (file, data, datalen)) != sfinfo.frames - datalen)
2015 { printf ("\n\nLine %d: Incorrect read length (%d should be %" PRId64 ").\n", __LINE__, k, sfinfo.frames - datalen) ;
2021 for (k = 0 ; k < sfinfo.frames - datalen ; k++)
2088 sf_seek (file, sfinfo.frames, SEEK_SET) ;
2097 if ((k = (int) sf_seek (file, 5 - sfinfo.frames, SEEK_END)) != 5)
2160 sfinfo.frames = 123456789 ; /* Ridiculous value. */
2214 if (sfinfo.frames < datalen / channels)
2215 { printf ("Too few.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", datalen, sfinfo.frames) ;
2219 if (sfinfo.frames > (datalen + 400))
2220 { printf ("Too many.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", sfinfo.frames, datalen) ;
2258 if ((k = (int) sf_read_double (file, data, datalen)) != sfinfo.frames - datalen)
2259 { printf ("\n\nLine %d: Incorrect read length (%d should be %" PRId64 ").\n", __LINE__, k, sfinfo.frames - datalen) ;
2265 for (k = 0 ; k < sfinfo.frames - datalen ; k++)
2332 sf_seek (file, sfinfo.frames, SEEK_SET) ;
2341 if ((k = (int) sf_seek (file, 5 - sfinfo.frames, SEEK_END)) != 5)
2380 sfinfo.frames = 123456789 ; /* Ridiculous value. */
2401 if (sfinfo.frames < datalen / channels)
2402 { printf ("Too few.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", datalen, sfinfo.frames) ;
2406 if (sfinfo.frames > (datalen + 400))
2407 { printf ("Too many.frames in file. (%" PRId64 " should be a little more than %" PRId64 ")\n", sfinfo.frames, datalen) ;
2419 if (count != sfinfo.channels * sfinfo.frames)
2420 { printf ("\nLine %d : sf_read_raw returned %" PRId64 " should be %" PRId64 "\n", __LINE__, count, sfinfo.channels * sfinfo.frames) ;