void-packages/srcpkgs/io.elementary.music/patches/vala-array-size.patch

12 lines
511 B
Diff

--- core/GStrewamer/Equalizer.vala 2020-03-04 23:50:04.000000000 +0100
+++ core/GStreamer/Equalizer.vala 2020-12-14 15:53:22.359597220 +0100
@@ -31,7 +31,7 @@
construct {
element = Gst.ElementFactory.make ("equalizer-10bands", "equalizer");
- int[10] freqs = {60, 170, 310, 600, 1000, 3000, 6000, 12000, 14000, 16000};
+ int freqs[10] = {60, 170, 310, 600, 1000, 3000, 6000, 12000, 14000, 16000};
float last_freq = 0;
for (int index = 0; index < 10; index++) {