diff options
Diffstat (limited to 'audio/audacity/files/patch-src_MIDIPlay.cpp')
-rw-r--r-- | audio/audacity/files/patch-src_MIDIPlay.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/audacity/files/patch-src_MIDIPlay.cpp b/audio/audacity/files/patch-src_MIDIPlay.cpp new file mode 100644 index 000000000000..4c6b68156c20 --- /dev/null +++ b/audio/audacity/files/patch-src_MIDIPlay.cpp @@ -0,0 +1,11 @@ +--- src/MIDIPlay.cpp.orig 2021-10-31 02:53:52 UTC ++++ src/MIDIPlay.cpp +@@ -490,7 +490,7 @@ static double SystemTime(bool usingAlsa) + if (usingAlsa) { + struct timespec now; + // CLOCK_MONOTONIC_RAW is unaffected by NTP or adj-time +- clock_gettime(CLOCK_MONOTONIC_RAW, &now); ++ clock_gettime(CLOCK_REALTIME, &now); + //return now.tv_sec + now.tv_nsec * 0.000000001; + return (now.tv_sec + now.tv_nsec * 0.000000001) - streamStartTime; + } |