Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/audio/alsa-utils/files/patch-alsactl_wait.c
34605 views
1
--- alsactl/wait.c.orig 2026-02-18 15:43:08 UTC
2
+++ alsactl/wait.c
3
@@ -112,7 +112,7 @@
4
return err;
5
}
6
7
- clock_gettime(CLOCK_MONOTONIC_RAW, &start_time);
8
+ clock_gettime(CLOCK_MONOTONIC, &start_time);
9
10
dbg("Waiting for card %d to become ready (timeout=%lld seconds)", cardno, timeout);
11
12
@@ -120,7 +120,7 @@
13
long long diff, remaining = 0;
14
long long sync_time_val = -1;
15
16
- clock_gettime(CLOCK_MONOTONIC_RAW, &now);
17
+ clock_gettime(CLOCK_MONOTONIC, &now);
18
19
/* Read current Boot control values */
20
err = read_boot_params(handle, &boot_time_val, &sync_time_val, &restore_time_val, NULL);
21
22