Implementation fast forward, and rewind

Issue #34 resolved
masafumi terazono repo owner created an issue

for example

int totalTime = mp.getDuration(); //current duration

int seekTime = mp.getCurrentPosition(); //current position

seekTime -= 2000; // rewinde 2sec

if ( seekTime < 0) seekTime = 0; //call few

if ( totalTime < seekTime ) seekTime = totalTime; // call next

mp.seekTo(seekTime); // move position

Comments (2)

  1. Log in to comment