[pulseaudio-commits] src/tests
David Henningsson
diwic at kemper.freedesktop.org
Thu Oct 16 03:26:17 PDT 2014
src/tests/connect-stress.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
New commits:
commit c45c0b149065af0f0ed6b07da83075a022030403
Author: David Henningsson <david.henningsson at canonical.com>
Date: Thu Oct 16 12:24:19 2014 +0200
connect-stress-test: Fix number of streams per sink to "20"
This test broke when PA_MAX_INPUTS_PER_SINK was increased from 32 to 256.
Because we currently don't have time to figure out why, let's just set
NSTREAMS to 20 in the meantime.
Signed-off-by: David Henningsson <david.henningsson at canonical.com>
diff --git a/src/tests/connect-stress.c b/src/tests/connect-stress.c
index 0cf072d..48d015b 100644
--- a/src/tests/connect-stress.c
+++ b/src/tests/connect-stress.c
@@ -42,7 +42,13 @@
* which makes a non-error abort less likely (although still easily possible of
* playing >=3 streams outside of the test - including internal loopback, rtp,
* combine, remap streams etc.) */
-#define NSTREAMS ((PA_MAX_INPUTS_PER_SINK/2) - 1)
+/* #define NSTREAMS ((PA_MAX_INPUTS_PER_SINK/2) - 1) */
+
+/* This test broke when PA_MAX_INPUTS_PER_SINK was increased from 32 to 256.
+ * Because we currently don't have time to figure out why, let's just set
+ * NSTREAMS to 20 in the meantime.
+ */
+#define NSTREAMS 20
#define NTESTS 1000
#define SAMPLE_HZ 44100
More information about the pulseaudio-commits
mailing list