Searched refs:seek_from_start (Results 1 – 2 of 2) sorted by relevance
685 sds_seek (SF_PRIVATE *psf, int mode, sf_count_t seek_from_start) in sds_seek() argument700 if (seek_from_start < 0 || seek_from_start > psf->sf.frames) in sds_seek()708 newblock = seek_from_start / psds->samplesperblock ; in sds_seek()709 newsample = seek_from_start % psds->samplesperblock ; in sds_seek()754 return seek_from_start ; in sds_seek()
1419 sf_count_t seek_from_start = 0, retval ; in sf_seek() local1446 seek_from_start = offset ; in sf_seek()1458 seek_from_start = psf->read_current + offset ; in sf_seek()1460 seek_from_start = psf->write_current + offset ; in sf_seek()1468 seek_from_start = psf->read_current + offset ; in sf_seek()1474 seek_from_start = psf->write_current + offset ; in sf_seek()1481 seek_from_start = psf->sf.frames + offset ; in sf_seek()1493 { if (seek_from_start < 0) in sf_seek()1498 else if (seek_from_start < 0 || seek_from_start > psf->sf.frames) in sf_seek()1506 retval = psf->seek (psf, new_mode, seek_from_start) ; in sf_seek()