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); }
static long MID2STREAM_seek (long offset, int whence) { if (FS_fseek(&midi_fh, offset, whence) != 0) return -1; return FS_ftell(&midi_fh); }
static opus_int64 opc_ftell (void *f) { return (opus_int64) FS_ftell((fshandle_t *)f); }
static long MIK_Tell (MREADER *r) { return FS_ftell(((mik_priv_t *)r)->fh); }