Skip to content

Commit 7af5d18

Browse files
committed
Updated now to a single shared now across all sessions.
1 parent 6e5e75c commit 7af5d18

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/AppleMIDI.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
#include "AppleMIDI.h"
2+
3+
BEGIN_APPLEMIDI_NAMESPACE
4+
5+
unsigned long now = 0;
6+
7+
END_APPLEMIDI_NAMESPACE

src/AppleMIDI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ using namespace MIDI_NAMESPACE;
2626

2727
BEGIN_APPLEMIDI_NAMESPACE
2828

29-
static unsigned long now;
29+
extern unsigned long now;
3030

3131
struct AppleMIDISettings : public MIDI_NAMESPACE::DefaultSettings
3232
{

0 commit comments

Comments
 (0)