mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-14 03:39:57 +01:00
Improved OSC sync
Accept OSC request to sync source by name or id. Changed OSC seek request to be by percent target
This commit is contained in:
@@ -180,13 +180,13 @@ public:
|
||||
|
||||
class Seek : public SourceCallback
|
||||
{
|
||||
float target_time_;
|
||||
float target_;
|
||||
|
||||
public:
|
||||
Seek (float time = 0.f);
|
||||
|
||||
float value () const { return target_time_;}
|
||||
void setValue (float t) { target_time_ = t; }
|
||||
float value () const { return target_;}
|
||||
void setValue (float t) { target_ = t; }
|
||||
|
||||
void update (Source *s, float dt) override;
|
||||
SourceCallback *clone() const override;
|
||||
|
||||
Reference in New Issue
Block a user