Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/audio/alsa-lib/files/patch-src_ucm_main.c
34610 views
1
--- src/ucm/main.c.orig 2026-02-18 14:13:29.140351000 +0000
2
+++ src/ucm/main.c 2026-02-18 14:13:52.105863000 +0000
3
@@ -1166,7 +1166,7 @@
4
return err;
5
}
6
7
- clock_gettime(CLOCK_MONOTONIC_RAW, &start_time);
8
+ clock_gettime(CLOCK_MONOTONIC, &start_time);
9
10
/* increase timeout to allow restore controls using udev/systemd */
11
/* when timeout limit exceeds */
12
@@ -1175,7 +1175,7 @@
13
while (1) {
14
long long diff, remaining = 0;
15
16
- clock_gettime(CLOCK_MONOTONIC_RAW, &now);
17
+ clock_gettime(CLOCK_MONOTONIC, &now);
18
19
err = boot_info(uc_mgr, &boot_time_val, &boot_synctime_val, &restore_time_val, &primary_card);
20
if (err < 0)
21
22