From f9d6a42f637b6636320be9f819a0658610e3fd92 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 4 Feb 2020 12:41:43 +0100 Subject: [PATCH] audiotestsrc: set stride correctly --- spa/plugins/audiotestsrc/audiotestsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/audiotestsrc/audiotestsrc.c b/spa/plugins/audiotestsrc/audiotestsrc.c index e7b7ce2ca..ce6ee0b3f 100644 --- a/spa/plugins/audiotestsrc/audiotestsrc.c +++ b/spa/plugins/audiotestsrc/audiotestsrc.c @@ -605,7 +605,7 @@ impl_node_port_enum_params(void *object, int seq, MAX_SAMPLES * port->bpf, 16 * port->bpf, INT32_MAX), - SPA_PARAM_BUFFERS_stride, SPA_POD_Int(0), + SPA_PARAM_BUFFERS_stride, SPA_POD_Int(port->bpf), SPA_PARAM_BUFFERS_align, SPA_POD_Int(16)); break; case SPA_PARAM_Meta: