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:
parent
ba006b0339
commit
11e7e27b3c
1 changed files with 12 additions and 0 deletions
12
audio/xfce4-mixer/files/patch-libxfce4mixer_oss_oss-mixer.c
Normal file
12
audio/xfce4-mixer/files/patch-libxfce4mixer_oss_oss-mixer.c
Normal 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];
|
Loading…
Reference in a new issue