1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Updates to support latest Bela release

This commit is contained in:
cesare 2019-08-22 17:08:10 +01:00
parent 305f96a03e
commit 471ce39167
3 changed files with 0 additions and 9 deletions

View file

@ -149,7 +149,6 @@
installed, or you've not got your paths set up correctly to find its header
files.
*/
#include <rtdk.h>
#include <Bela.h>
#include <Midi.h>
#endif

View file

@ -110,10 +110,6 @@
#include <android/log.h>
#endif
#if JUCE_BELA
#include <native/timer.h>
#endif
#undef check
//==============================================================================

View file

@ -183,13 +183,9 @@ uint32 juce_millisecondsSinceStartup() noexcept
int64 Time::getHighResolutionTicks() noexcept
{
#if JUCE_BELA
return rt_timer_read() / 1000;
#else
timespec t;
clock_gettime (CLOCK_MONOTONIC, &t);
return (t.tv_sec * (int64) 1000000) + (t.tv_nsec / 1000);
#endif
}
int64 Time::getHighResolutionTicksPerSecond() noexcept