Home
last modified time | relevance | path

Searched refs:lsx_seeki (Results 1 – 25 of 26) sorted by relevance

12

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Did3.c106 if (0 != lsx_seeki(info->ft, size, SEEK_CUR) || in add_tag()
178 if (0 == lsx_seeki(ft, -128, SEEK_END)) { in lsx_id3_read_tag()
183 if (0 == lsx_seeki(ft, 0, SEEK_SET)) { in lsx_id3_read_tag()
186 if (0 == lsx_seeki(ft, has_id3v1 ? -138 : -10, SEEK_END)) { in lsx_id3_read_tag()
H A D8svx.c70 lsx_seeki(ft,(off_t)12,SEEK_CUR); in startread()
72 lsx_seeki(ft,(off_t)1,SEEK_CUR); in startread()
79 lsx_seeki(ft,(off_t)4,SEEK_CUR); in startread()
139 lsx_seeki(ft,(off_t)chunksize,SEEK_CUR); in startread()
190 if (lsx_seeki(ft, p->ch0_pos + ch * width, SEEK_SET) || in read_samples()
H A Dgsrt.c94 if (lsx_seeki(ft, (off_t)sizeof(file_size), SEEK_SET) != 0) in start_read()
169 if (!lsx_seeki(ft, (off_t)sizeof(uint32_t), SEEK_SET)) { in stop_write()
172 if (!lsx_seeki(ft, (off_t)HEADER_SIZE, SEEK_SET)) { in stop_write()
177 if (!lsx_seeki(ft, (off_t)0, SEEK_SET)) { in stop_write()
H A Dsmp.c193 ft->sox_errno = lsx_seeki(ft, (off_t)new_offset, SEEK_SET); in sox_smpseek()
262 if (lsx_seeki(ft, (off_t)(smp->NoOfSamps * 2), 1) == -1) in sox_smpstartread()
274 if (lsx_seeki(ft, (off_t)samplestart, 0) == -1) in sox_smpstartread()
397 if (lsx_seeki(ft, (off_t)112, 0) == -1) in sox_smpstopwrite()
H A Davr.c262 lsx_seeki(ft, (off_t)26, SEEK_SET); in stopwrite()
266 lsx_seeki(ft, (off_t)34, SEEK_SET); in stopwrite()
H A Dmaud.c181 lsx_seeki(ft, (off_t)chunksize, SEEK_CUR); in startread()
235 if (lsx_seeki(ft, (off_t)0, 0) != 0) in stopwrite()
H A Dmp3.c620 lsx_seeki(ft, (off_t)(tagsize - available), SEEK_CUR); in sox_mp3seek()
653 … if (SOX_SUCCESS != lsx_seeki(ft, (off_t)(p->FrameCount * consumed / 64 + tagsize), SEEK_SET)) in sox_mp3seek()
737 if (lsx_seeki(ft, (off_t)0, SEEK_SET) != 0) { in get_id3v2_tag_size()
813 lsx_seeki(ft, (off_t)0, SEEK_SET); in rewrite_id3v2_tag()
830 if (lsx_seeki(ft, (off_t)0, SEEK_END)) { in rewrite_tags()
852 if (lsx_seeki(ft, (off_t)id3v2_size, SEEK_SET)) { in rewrite_tags()
H A Dlibsox.sym34 lsx_seeki
H A Daiff.c160 lsx_seeki(ft, (off_t)chunksize, SEEK_CUR); in lsx_aiffstartread()
315 lsx_seeki(ft, offs + chunksize, SEEK_SET); in lsx_aiffstartread()
344 lsx_seeki(ft, seekto, SEEK_SET); in lsx_aiffstartread()
640 if (lsx_seeki(ft, (off_t)0, SEEK_SET) != 0) in lsx_aiffstopwrite()
837 if (lsx_seeki(ft, (off_t)0, SEEK_SET) != 0) in lsx_aifcstopwrite()
H A Damr.h149 if (lsx_seeki(ft, frame_size - 1, SEEK_CUR)) { in amr_duration_frames()
155 lsx_seeki(ft, data_start_offset, SEEK_SET); in amr_duration_frames()
H A Dwavpack.c42 return lsx_seeki((sox_format_t *)ft, (off_t)offset, SEEK_SET);} in ft_seek_abs()
44 return lsx_seeki((sox_format_t *)ft, (off_t)offset, mode);} in ft_seek_rel()
H A Dvoc.c516 lsx_seeki(ft, (off_t) v->blockseek, 0); /* seek back to block length */ in blockstop()
517 lsx_seeki(ft, (off_t)1, 1); /* seek forward one */ in blockstop()
523 lsx_seeki(ft, (off_t)8, 1); /* forward 7 + 1 for new block header */ in blockstop()
H A Dsox-fmt.c70 lsx_seeki(ft, (off_t)(headers_bytes - FIXED_HDR - comments_bytes), SEEK_CUR); in startread()
H A Dwav.c904 err = lsx_seeki(ft, cstart + clen - pos, SEEK_CUR); in startread()
928 lsx_seeki(ft, wav->dataStart, SEEK_SET); in startread()
1573 if (lsx_seeki(ft, (off_t)0, SEEK_SET) != 0) in stopwrite()
1607 ft->sox_errno = lsx_seeki(ft, (off_t)(gsmoff + wav->dataStart), SEEK_SET); in seek()
1620 …ft->sox_errno = (to != to_d)? SOX_EOF : lsx_seeki(ft, (off_t)wav->dataStart + (off_t)to, SEEK_SET); in seek()
H A Dmp3-util.h119 lsx_seeki(ft, (off_t)(tagsize - available), SEEK_CUR); in mp3_duration()
H A Dopus.c59 int ret = ft->seekable ? lsx_seeki(ft, (off_t)off, whence) : -1; in callback_seek()
H A Dsphere.c130 lsx_seeki(ft, -(off_t)sizeof(shorten_check), SEEK_CUR); in start_read()
H A Dformats_i.c192 int lsx_seeki(sox_format_t * ft, off_t offset, int whence) in lsx_seeki() function
222 return (to != to_d)? SOX_EOF : lsx_seeki(ft, (byte_offset + to), SEEK_SET); in lsx_offset_seek()
H A Dflac.c77 if(lsx_seeki(ft, (off_t)absolute_byte_offset, SEEK_SET) < 0) in decoder_seek_callback()
365 else if (lsx_seeki(ft, (off_t)absolute_byte_offset, SEEK_SET) != SOX_SUCCESS) in flac_stream_encoder_seek_callback()
H A Dcvsd.c553 if (lsx_seeki(ft, (off_t)0, SEEK_SET) < 0) in dvms_write_header()
668 if (lsx_seeki(ft, (off_t)0, 0) != 0) in lsx_dvmsstopwrite()
H A Dtx16w.c96 lsx_seeki(ft, (off_t)0, 0); /* rewind file */ in startread()
H A Dprc.c400 if (lsx_seeki(ft, (off_t)0, 0) != 0) { in stopwrite()
H A Dvorbis.c75 int ret = ft->seekable ? lsx_seeki(ft, (off_t)off, whence) : -1; in callback_seek()
H A Dsox_i.h202 int lsx_seeki(sox_format_t * ft, off_t offset, int whence);
H A Dsndfile.c224 return lsx_seeki((sox_format_t *)user_data, (off_t)offset, whence); in vio_seek()

12