/** * \brief OGG seek Callback. Moves the file pointer to a specified location. * \param[in] datasource Music track data structure. * \param[in] offset Number of bytes from whence. * \param[in] whence Initial position. * \return If successful, fseek returns 0. Otherwise, it returns a nonzero value. * \note */ PRIVATE int ovc_seek( void *datasource, ogg_int64_t offset, int whence ) { musicTrack_t *track = (musicTrack_t *)datasource; return FS_FileSeek( track->hFile, offset, whence ); }
PRIVATE int ovc_seek( void *dataSource, ogg_int64_t offset, int whence ) { return FS_FileSeek( fh, offset, whence ); }