mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-06 14:44:25 +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,
|
.stop = vgmstream_stop,
|
||||||
.pause = vgmstream_pause,
|
.pause = vgmstream_pause,
|
||||||
.seek = vgmstream_seek,
|
.seek = vgmstream_seek,
|
||||||
.get_time = vgmstream_get_time,
|
|
||||||
.vfs_extensions = vgmstream_exts,
|
.vfs_extensions = vgmstream_exts,
|
||||||
.mseek = vgmstream_mseek,
|
.mseek = vgmstream_mseek,
|
||||||
.file_info_box = vgmstream_file_info_box,
|
.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);
|
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)
|
Tuple * vgmstream_probe_for_tuple(const gchar * filename, VFSFile * file)
|
||||||
{
|
{
|
||||||
VGMSTREAM *infostream = NULL;
|
VGMSTREAM *infostream = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user