示例#1
0
static off_t mp3_seek (void *f, off_t offset, int whence)
{
	if (f == NULL) return (-1);
	if (FS_fseek((fshandle_t *)f, (long) offset, whence) < 0)
		return (off_t)-1;
	return (off_t) FS_ftell((fshandle_t *)f);
}
示例#2
0
static long MID2STREAM_seek (long offset, int whence)
{
	if (FS_fseek(&midi_fh, offset, whence) != 0)
		return -1;
	return FS_ftell(&midi_fh);
}
示例#3
0
static opus_int64 opc_ftell (void *f)
{
	return (opus_int64) FS_ftell((fshandle_t *)f);
}
示例#4
0
static long MIK_Tell (MREADER *r)
{
	return FS_ftell(((mik_priv_t *)r)->fh);
}