audio/xfce4-mixer: Fix build with clang 16

Patch submitted upstream: https://gitlab.xfce.org/apps/xfce4-mixer/-/merge_requests/7
This commit is contained in:
Guido Falsi 2023-06-28 22:38:48 +02:00
parent ba006b0339
commit 11e7e27b3c

View file

@ -0,0 +1,12 @@
--- libxfce4mixer/oss/oss-mixer.c.orig 2022-11-29 19:59:39 UTC
+++ libxfce4mixer/oss/oss-mixer.c
@@ -80,7 +80,8 @@ gst_mixer_oss_get_mixer_flags (GstMixer *mixer)
}
-static void gst_mixer_oss_set_volume (GstMixer *mixer, GstMixerTrack *track, gint *volumes)
+static void
+gst_mixer_oss_set_volume (GstMixer *mixer, GstMixerTrack *track, gint num_channels, gint *volumes)
{
int vol;
int l = volumes[0], r = volumes[1];