コード例 #1
0
ファイル: sound_stream.c プロジェクト: Oppen/Wolf3DRedux
/**
 * \brief OGG tell Callback. Gets the current position of a file pointer.
 * \param[in] datasource Music track data structure.
 * \return The current file position.
 * \note
 */
PRIVATE long ovc_tell( void *datasource )
{
	musicTrack_t	*track = (musicTrack_t *)datasource;

	return FS_FileTell( track->hFile );
}
コード例 #2
0
ファイル: oggfile.c プロジェクト: Anters/Wolf3D-iOS
PRIVATE long ovc_tell( void *dataSource )
{
	return FS_FileTell( fh );
}