Make ppqPos in VST sync sample accurate
This commit is contained in:
committed by
Oskar Wallgren
parent
3a94ed3f3f
commit
614bca7f04
@@ -39,7 +39,7 @@ public:
|
||||
VstSyncController();
|
||||
~VstSyncController();
|
||||
|
||||
void setAbsolutePosition( int ticks );
|
||||
void setAbsolutePosition( double ticks );
|
||||
|
||||
void setPlaybackState( bool enabled )
|
||||
{
|
||||
@@ -77,7 +77,7 @@ private:
|
||||
struct VstSyncData
|
||||
{
|
||||
bool isPlaying;
|
||||
float ppqPos;
|
||||
double ppqPos;
|
||||
int timeSigNumer;
|
||||
int timeSigDenom;
|
||||
bool isCycle;
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
struct VstSyncData
|
||||
{
|
||||
bool isPlaying;
|
||||
float ppqPos;
|
||||
double ppqPos;
|
||||
int timeSigNumer;
|
||||
int timeSigDenom;
|
||||
bool isCycle;
|
||||
|
||||
Reference in New Issue
Block a user