1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/5a023c8c84fb053d452983a64a33a41b931fc99b
https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2271
From: Wim Taymans <wtaymans@redhat.com>
Date: Thu, 21 Apr 2022 22:12:38 +0200
Subject: [PATCH] alsa: fix argument type for Long
Fixes #2271
--- a/spa/plugins/alsa/alsa-pcm.c
+++ b/spa/plugins/alsa/alsa-pcm.c
@@ -311,7 +311,7 @@ struct spa_pod *spa_alsa_enum_propinfo(struct state *state,
SPA_PROP_INFO_name, SPA_POD_String("latency.internal.ns"),
SPA_PROP_INFO_description, SPA_POD_String("Internal latency in nanoseconds"),
SPA_PROP_INFO_type, SPA_POD_CHOICE_RANGE_Long(state->process_latency.ns,
- 0, 2 * SPA_NSEC_PER_SEC),
+ 0LL, 2 * SPA_NSEC_PER_SEC),
SPA_PROP_INFO_params, SPA_POD_Bool(true));
break;
case 15:
GitLab
|