Skip to content

Commit

Permalink
Update player.c
Browse files Browse the repository at this point in the history
  • Loading branch information
dippy-dipper authored Dec 3, 2020
1 parent e885017 commit 9ef8e2f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions player.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,3 +233,20 @@ int plr_pump()

return 1;
}

/* TODO: */
/*
int plr_seek(int sec)
{
int len = (int)ov_time_total(&plr_vf, -1);
if(sec<0) sec=0;
if(sec > len) sec = len;
return ov_time_seek(&plr_vf, (double)sec);
}
int plr_tell()
{
int tpos = (int)ov_time_tell(&plr_vf);
return tpos;
}
*/

0 comments on commit 9ef8e2f

Please sign in to comment.