Skip to content

Commit 4785a20

Browse files
authored
Merge pull request #169 from arnefmeyer/development
add juce namespace to (u)int64 types
2 parents 3163924 + 433c8aa commit 4785a20

6 files changed

Lines changed: 90 additions & 90 deletions

File tree

Source/CoreServices.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ void highlightEditor(GenericEditor* ed)
7878
getEditorViewport()->makeEditorVisible(ed);
7979
}
8080

81-
int64 getGlobalTimestamp()
81+
juce::int64 getGlobalTimestamp()
8282
{
8383
return getProcessorGraph()->getGlobalTimestamp(false);
8484
}
8585

86-
int64 getSoftwareTimestamp()
86+
juce::int64 getSoftwareTimestamp()
8787
{
8888
return getProcessorGraph()->getGlobalTimestamp(true);
8989
}
@@ -191,4 +191,4 @@ String getGUIVersion()
191191
return STR_DEF(JUCE_APP_VERSION);
192192
}
193193

194-
};
194+
};

Source/CoreServices.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ PLUGIN_API void highlightEditor(GenericEditor* ed);
6161
/** Gets the timestamp selected on the MessageCenter interface
6262
Defaults to the first hardware timestamp source or the software one if
6363
no hardware timestamping is present*/
64-
PLUGIN_API int64 getGlobalTimestamp();
64+
PLUGIN_API juce::int64 getGlobalTimestamp();
6565

6666
/** Gets the sample rate selected on the MessageCenter interface
6767
Defaults to the dample rate of the first hardware source or
6868
the software high resolution timer if no hardware source is present*/
6969
PLUGIN_API float getGlobalSampleRate();
7070

7171
/** Gets the software timestamp based on a high resolution timer aligned to the start of each processing block */
72-
PLUGIN_API int64 getSoftwareTimestamp();
72+
PLUGIN_API juce::int64 getSoftwareTimestamp();
7373

7474
/** Gets the ticker frequency of the software timestamp clock*/
7575
PLUGIN_API float getSoftwareSampleRate();

0 commit comments

Comments
 (0)