Arun Raghavan pushed to branch master at PulseAudio / pulseaudio


Commits:
17e47186 by Arun Raghavan at 2025-09-15T13:06:54-04:00
stream: Minor whitespace fixups

- - - - -
1699a78f by Arun Raghavan at 2025-09-15T13:06:54-04:00
test: Demote once-test failure for meson to skip

Since this fails on CI (presumably due to pthread_setffinity_np() not
being permitted, let's make this a soft failure.

- - - - -


2 changed files:

- src/pulse/stream.c
- src/tests/once-test.c


Changes:

=====================================
src/pulse/stream.c
=====================================
@@ -1915,12 +1915,12 @@ static void 
stream_get_timing_info_callback(pa_pdispatch *pd, uint32_t command,
 
             /* Go through the saved correction values and add up the
              * total correction.*/
-            for (n = 0, j = o->stream->current_write_index_correction+1;
+            for (n = 0, j = o->stream->current_write_index_correction + 1;
                  n < PA_MAX_WRITE_INDEX_CORRECTIONS;
                  n++, j++) {
 
                 /* First fix up the index to be within the array */
-                j  = j % PA_MAX_WRITE_INDEX_CORRECTIONS;
+                j = j % PA_MAX_WRITE_INDEX_CORRECTIONS;
 
                 /* Step over invalid data or out-of-date data */
                 if (!o->stream->write_index_corrections[j].valid ||


=====================================
src/tests/once-test.c
=====================================
@@ -39,6 +39,8 @@
 #include <pulsecore/atomic.h>
 #include <pulse/xmalloc.h>
 
+#define EXIT_FAILURE_SKIP 77
+
 static pa_once once = PA_ONCE_INIT;
 static volatile unsigned n_run = 0;
 static const char * volatile ran_by = NULL;
@@ -139,5 +141,5 @@ int main(int argc, char *argv[]) {
     failed = srunner_ntests_failed(sr);
     srunner_free(sr);
 
-    return (failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
+    return (failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE_SKIP;
 }



View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/compare/1fbc6b0e0e796ea1e78825fce4ca815475d30294...1699a78f5b4227df7c463e076855decca38d1af5

-- 
View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/compare/1fbc6b0e0e796ea1e78825fce4ca815475d30294...1699a78f5b4227df7c463e076855decca38d1af5
You're receiving this email because of your account on gitlab.freedesktop.org.


Reply via email to