latency-utils.h: invalid conversion from ‘int’ to ‘spa_direction’ [-fpermissive]
After including the header #include <spa/param/latency-utils.h>
I've got the error described in this issue's title. GCC is complaining about the line
info->direction &= 1;
inside the function spa_latency_parse
.