/third_party/libsnd/tests/ |
D | lossy_comp_test.c | 750 if ((k = (int) sf_seek (file, 0, SEEK_SET)) != 0) in lcomp_test_short() 771 if ((k = (int) sf_seek (file, seekpos, SEEK_SET)) != seekpos) in lcomp_test_short() 783 if ((k = (int) sf_seek (file, 0, SEEK_CUR)) != seekpos + 1) in lcomp_test_short() 788 seekpos = (int) sf_seek (file, 0, SEEK_CUR) + BUFFER_SIZE / 5 ; in lcomp_test_short() 789 k = (int) sf_seek (file, BUFFER_SIZE / 5, SEEK_CUR) ; in lcomp_test_short() 797 seekpos = (int) sf_seek (file, 0, SEEK_CUR) - 20 ; in lcomp_test_short() 799 k = (int) sf_seek (file, -20, SEEK_CUR) ; in lcomp_test_short() 807 sf_seek (file, sfinfo.frames, SEEK_SET) ; in lcomp_test_short() 815 if ((k = (int) sf_seek (file, 5 - sfinfo.frames, SEEK_END)) != 5) in lcomp_test_short() 949 if ((k = (int) sf_seek (file, 0, SEEK_SET)) != 0) in lcomp_test_int() [all …]
|
D | fix_this.c | 193 if ((k = sf_seek (file, 0, SEEK_SET)) != 0) in lcomp_test_int() 219 if ((k = sf_seek (file, seekpos, SEEK_SET)) != seekpos) in lcomp_test_int() 234 if ((k = sf_seek (file, 0, SEEK_CUR)) != seekpos + 1) in lcomp_test_int() 239 seekpos = sf_seek (file, 0, SEEK_CUR) + BUFFER_SIZE / 5 ; in lcomp_test_int() 240 k = sf_seek (file, BUFFER_SIZE / 5, SEEK_CUR) ; in lcomp_test_int() 247 seekpos = sf_seek (file, 0, SEEK_CUR) - 20 ; in lcomp_test_int() 249 k = sf_seek (file, -20, SEEK_CUR) ; in lcomp_test_int() 257 sf_seek (file, (int) sfinfo.frames, SEEK_SET) ; in lcomp_test_int() 265 if ((k = sf_seek (file, 5 - (int) sfinfo.frames, SEEK_END)) != 5) in lcomp_test_int()
|
D | utils.tpl | 621 if (read_pos >= 0 && (pos = sf_seek (file, 0, SEEK_CUR | SFM_READ)) != read_pos) 630 if (write_pos >= 0 && (pos = sf_seek (file, 0, SEEK_CUR | SFM_WRITE)) != write_pos) 686 if ((position = sf_seek (file, offset, whence)) != new_pos) 687 …{ printf ("\n\nLine %d : %s : sf_seek (file, %" PRId64 ", %s) returned %" PRId64 " (should be %" P…
|
D | command_test.c | 306 sf_seek (file, 0, SEEK_SET) ; in float_norm_test() 321 sf_seek (file, 0, SEEK_SET) ; in float_norm_test() 422 sf_seek (file, 0, SEEK_SET) ; in double_norm_test() 437 sf_seek (file, 0, SEEK_SET) ; in double_norm_test()
|
D | write_read_test.tpl | 661 /* Check read past end of file followed by sf_seek (sndfile, 0, SEEK_CUR). */
|
/third_party/libsnd/src/ |
D | command.c | 318 position = sf_seek ((SNDFILE*) psf, 0, SEEK_CUR) ; in psf_calc_signal_max() 320 sf_seek ((SNDFILE*) psf, 0, SEEK_SET) ; in psf_calc_signal_max() 335 sf_seek ((SNDFILE*) psf, position, SEEK_SET) ; in psf_calc_signal_max() 362 position = sf_seek ((SNDFILE*) psf, 0, SEEK_CUR) ; /* Get current position in file */ in psf_calc_max_all_channels() 363 sf_seek ((SNDFILE*) psf, 0, SEEK_SET) ; /* Go to start of file. */ in psf_calc_max_all_channels() 380 sf_seek ((SNDFILE*) psf, position, SEEK_SET) ; /* Return to original position. */ in psf_calc_max_all_channels()
|
D | sndfile.c | 1241 if (sf_seek (sndfile, position, SEEK_SET) != position) in sf_command() 1260 sf_seek (sndfile, 0, SEEK_CUR) ; in sf_command() 1505 sf_seek (SNDFILE *sndfile, sf_count_t offset, int whence) in sf_seek() function
|
/third_party/libsnd/programs/ |
D | sndfile-concat.c | 143 sf_seek (wfile, 0, SEEK_END) ; in concat_data_fp() 161 sf_seek (wfile, 0, SEEK_END) ; in concat_data_int()
|
/third_party/libsnd/include/ |
D | sndfile.h | 676 sf_count_t sf_seek (SNDFILE *sndfile, sf_count_t frames, int whence) ;
|
D | sndfile.hh | 307 { return sf_seek (p->sf, frame_count, whence) ; } in seek()
|
/third_party/libsnd/docs/ |
D | api.md | 39 | [sf_seek](#seek) … 318 sf_count_t sf_seek (SNDFILE *sndfile, sf_count_t frames, int whence) ; 349 sf_seek will return the offset in (multichannel) frames from the start of the
|