mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-18 07:44:43 +01:00
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:
parent
12a24d25ca
commit
f984391bf8
@ -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,
|
||||
|
13
unix/main.c
13
unix/main.c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user