audiotestsrc: set stride correctly

This commit is contained in:
Wim Taymans 2020-02-04 12:41:43 +01:00
parent a5d17ba6d1
commit f9d6a42f63

View file

@ -605,7 +605,7 @@ impl_node_port_enum_params(void *object, int seq,
MAX_SAMPLES * port->bpf, MAX_SAMPLES * port->bpf,
16 * port->bpf, 16 * port->bpf,
INT32_MAX), 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)); SPA_PARAM_BUFFERS_align, SPA_POD_Int(16));
break; break;
case SPA_PARAM_Meta: case SPA_PARAM_Meta: