mirror of
https://codeberg.org/tenacityteam/tenacity
synced 2025-10-04 11:09:34 +02:00
Reapply cdcc724213
Fixes MIDIPlay on Haiku Signed-off-by: Avery King <gperson@disroot.org>
This commit is contained in:
@@ -485,7 +485,7 @@ static double streamStartTime = 0; // bias system time to small number
|
|||||||
|
|
||||||
static double SystemTime(bool usingAlsa)
|
static double SystemTime(bool usingAlsa)
|
||||||
{
|
{
|
||||||
#ifdef __WXGTK__
|
#if defined(__WXGTK__) && !defined(__HAIKU__)
|
||||||
if (usingAlsa) {
|
if (usingAlsa) {
|
||||||
struct timespec now;
|
struct timespec now;
|
||||||
// CLOCK_MONOTONIC_RAW is unaffected by NTP or adj-time
|
// CLOCK_MONOTONIC_RAW is unaffected by NTP or adj-time
|
||||||
|
Reference in New Issue
Block a user