LADI
/
spa
1
Fork 0

spa: make latency struct to compare const

This commit is contained in:
Wim Taymans 2023-05-11 18:20:55 +02:00
parent 2ba9881b4d
commit 5d5576f4a8
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ extern "C" {
#include <spa/param/latency.h>
static inline int
spa_latency_info_compare(const struct spa_latency_info *a, struct spa_latency_info *b)
spa_latency_info_compare(const struct spa_latency_info *a, const struct spa_latency_info *b)
{
if (a->min_quantum == b->min_quantum &&
a->max_quantum == b->max_quantum &&