Home
last modified time | relevance | path

Searched refs:sf_seek (Results 1 – 14 of 14) sorted by relevance

/third_party/libsnd/tests/
Dlossy_comp_test.c747 if ((k = sf_seek (file, 0, SEEK_SET)) != 0) in lcomp_test_short()
768 if ((k = sf_seek (file, seekpos, SEEK_SET)) != seekpos) in lcomp_test_short()
780 if ((k = sf_seek (file, 0, SEEK_CUR)) != seekpos + 1) in lcomp_test_short()
785 seekpos = sf_seek (file, 0, SEEK_CUR) + BUFFER_SIZE / 5 ; in lcomp_test_short()
786 k = sf_seek (file, BUFFER_SIZE / 5, SEEK_CUR) ; in lcomp_test_short()
794 seekpos = sf_seek (file, 0, SEEK_CUR) - 20 ; in lcomp_test_short()
796 k = sf_seek (file, -20, SEEK_CUR) ; in lcomp_test_short()
804 sf_seek (file, sfinfo.frames, SEEK_SET) ; in lcomp_test_short()
812 if ((k = sf_seek (file, 5 - sfinfo.frames, SEEK_END)) != 5) in lcomp_test_short()
945 if ((k = sf_seek (file, 0, SEEK_SET)) != 0) in lcomp_test_int()
[all …]
Dfix_this.c193 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()
Dutils.tpl596 if (read_pos >= 0 && (pos = sf_seek (file, 0, SEEK_CUR | SFM_READ)) != read_pos)
605 if (write_pos >= 0 && (pos = sf_seek (file, 0, SEEK_CUR | SFM_WRITE)) != write_pos)
661 if ((position = sf_seek (file, offset, whence)) != new_pos)
662 …{ printf ("\n\nLine %d : %s : sf_seek (file, %" PRId64 ", %s) returned %" PRId64 " (should be %" P…
Dcommand_test.c306 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()
Dwrite_read_test.tpl658 /* Check read past end of file followed by sf_seek (sndfile, 0, SEEK_CUR). */
/third_party/libsnd/src/
Dcommand.c303 position = sf_seek ((SNDFILE*) psf, 0, SEEK_CUR) ; in psf_calc_signal_max()
305 sf_seek ((SNDFILE*) psf, 0, SEEK_SET) ; in psf_calc_signal_max()
320 sf_seek ((SNDFILE*) psf, position, SEEK_SET) ; in psf_calc_signal_max()
347 position = sf_seek ((SNDFILE*) psf, 0, SEEK_CUR) ; /* Get current position in file */ in psf_calc_max_all_channels()
348 sf_seek ((SNDFILE*) psf, 0, SEEK_SET) ; /* Go to start of file. */ in psf_calc_max_all_channels()
365 sf_seek ((SNDFILE*) psf, position, SEEK_SET) ; /* Return to original position. */ in psf_calc_max_all_channels()
Dsndfile.c1153 if (sf_seek (sndfile, position, SEEK_SET) != position) in sf_command()
1172 sf_seek (sndfile, 0, SEEK_CUR) ; in sf_command()
1417 sf_seek (SNDFILE *sndfile, sf_count_t offset, int whence) in sf_seek() function
/third_party/libsnd/programs/
Dsndfile-concat.c143 sf_seek (wfile, 0, SEEK_END) ; in concat_data_fp()
161 sf_seek (wfile, 0, SEEK_END) ; in concat_data_int()
/third_party/gstreamer/gstplugins_bad/ext/sndfile/
Dgstsfsrc.c219 pos = sf_seek (this->file, offset, SEEK_SET); in gst_sf_src_create()
307 end = sf_seek (this->file, 0, SEEK_END); in gst_sf_src_get_size()
309 sf_seek (this->file, this->offset, SEEK_SET); in gst_sf_src_get_size()
Dgstsfdec.c222 if ((pos = sf_seek (self->file, pos, SEEK_SET) == -1)) in gst_sf_dec_do_seek()
/third_party/libsnd/include/
Dsndfile.h621 sf_count_t sf_seek (SNDFILE *sndfile, sf_count_t frames, int whence);
Dsndfile.hh305 { return sf_seek (p->sf, frame_count, whence) ; } in seek()
Dsndfile.h.in639 /* Seek within the waveform data chunk of the SNDFILE. sf_seek () uses
644 ** On success sf_seek returns the current position in (multi-channel)
657 sf_count_t sf_seek (SNDFILE *sndfile, sf_count_t frames, int whence) ;
/third_party/libsnd/docs/
Dapi.md39 | [sf_seek](#seek) …
310 sf_count_t sf_seek (SNDFILE *sndfile, sf_count_t frames, int whence) ;
341 sf_seek will return the offset in (multichannel) frames from the start of the