Skip to content

Commit

Permalink
Fix layout of VstSyncData struct
Browse files Browse the repository at this point in the history
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 14, 2019
1 parent 205b575 commit 3aeacca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/VstSyncController.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion include/VstSyncData.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@

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

0 comments on commit 3aeacca

Please sign in to comment.