New Source Callbacks for Play control )fast forward, seek, etc.)

2 new callbacks (PlayFastForward, PlaySpeed), modified Seek callback to take target time in seconds (instead of ratio of duration). Integrating this in Input Mapping GUI and Session saving.
This commit is contained in:
Bruno Herbelin
2023-02-19 01:05:52 +01:00
parent d25c17342b
commit 1590251dad
13 changed files with 311 additions and 42 deletions

View File

@@ -156,17 +156,17 @@ public:
* */
void setLoop(LoopMode mode);
/**
* Seek to next frame when paused
* Step when paused
* (aka next frame)
* Can go backward if play speed is negative
* */
void step();
void step(uint milisecond = 0);
/**
* Jump fast when playing
* Step forward when playing
* (aka fast-forward)
* Can go backward if play speed is negative
* */
void jump();
void jump(uint milisecond = 200);
/**
* Seek to zero
* */