Skip to content
Permalink
Browse files

Fix layout of VstSyncData struct

Ensure member of type double is 8-byte aligned for consistent layout between 32- and 64-bit Linux builds.
  • Loading branch information...
DomClark authored and PhysSong committed Mar 3, 2019
1 parent 205b575 commit 3aeacca7acf7fe77a3f0545451dbe4e3332c1628
Showing with 2 additions and 2 deletions.
  1. +1 −1 include/VstSyncController.h
  2. +1 −1 include/VstSyncData.h
@@ -76,10 +76,10 @@ private slots:
private:
struct VstSyncData
{
bool isPlaying;
double ppqPos;
int timeSigNumer;
int timeSigDenom;
bool isPlaying;
bool isCycle;
bool hasSHM;
float cycleStart;
@@ -41,10 +41,10 @@

struct VstSyncData
{
bool isPlaying;
double ppqPos;
int timeSigNumer;
int timeSigDenom;
bool isPlaying;
bool isCycle;
bool hasSHM;
float cycleStart;

0 comments on commit 3aeacca

Please sign in to comment.
You can’t perform that action at this time.