mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
spa: make latency struct to compare const
This commit is contained in:
parent
2ba9881b4d
commit
5d5576f4a8
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ extern "C" {
|
||||||
#include <spa/param/latency.h>
|
#include <spa/param/latency.h>
|
||||||
|
|
||||||
static inline int
|
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 &&
|
if (a->min_quantum == b->min_quantum &&
|
||||||
a->max_quantum == b->max_quantum &&
|
a->max_quantum == b->max_quantum &&
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue