SHA256
1
0
forked from pool/apulse
apulse/apulse-fix-pulse-12.patch
2018-06-17 17:36:59 +00:00

17 lines
521 B
Diff

--- a/src/apulse-volume.c
+++ b/src/apulse-volume.c
@@ -282,8 +282,13 @@ pa_cvolume_scale(pa_cvolume *v, pa_volum
APULSE_EXPORT
pa_cvolume *
+#if PA_CHECK_VERSION(11, 99, 0)
+pa_cvolume_scale_mask(pa_cvolume *v, pa_volume_t max, const pa_channel_map *cm,
+ pa_channel_position_mask_t mask)
+#else
pa_cvolume_scale_mask(pa_cvolume *v, pa_volume_t max, pa_channel_map *cm,
pa_channel_position_mask_t mask)
+#endif
{
trace_info_z("Z %s\n", __func__);
return NULL;