get_time is not required, don't bother

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@954 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2011-05-28 11:39:57 +00:00
parent 12a24d25ca
commit f984391bf8
2 changed files with 0 additions and 14 deletions

View File

@ -289,7 +289,6 @@ InputPlugin vgmstream_iplug = {
.stop = vgmstream_stop,
.pause = vgmstream_pause,
.seek = vgmstream_seek,
.get_time = vgmstream_get_time,
.vfs_extensions = vgmstream_exts,
.mseek = vgmstream_mseek,
.file_info_box = vgmstream_file_info_box,

View File

@ -274,19 +274,6 @@ void vgmstream_seek(InputPlayback *context,gint time)
vgmstream_mseek(context,time * 1000);
}
int vgmstream_get_time(InputPlayback *context)
{
if (!vgmstream)
return -2;
if (!context->playing ||
(context->eof && !context->output->buffer_playing()))
return -1;
return context->output->written_time();
//return get_ms_position();
}
Tuple * vgmstream_probe_for_tuple(const gchar * filename, VFSFile * file)
{
VGMSTREAM *infostream = NULL;