io.elementary.music: fix build
This commit is contained in:
parent
3927a70382
commit
d6b5810750
1 changed files with 11 additions and 0 deletions
11
srcpkgs/io.elementary.music/patches/vala-array-size.patch
Normal file
11
srcpkgs/io.elementary.music/patches/vala-array-size.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- 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++) {
|
Loading…
Reference in a new issue