From 6e458c9091e9364a80b9b7905745f9bbae265273 Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Mon, 30 Oct 2017 09:44:12 +0000 Subject: New port: audio/cava C.A.V.A. is a bar spectrum audio visualizer for the terminal using ALSA, PulseAudio, sndio or fifo buffer for input. This program is not intended for scientific use. It's written to look responsive and aesthetic when used to visualize music. WWW: https://karlstav.github.io/cava - Include a backport of an sndio input contributed by me PR: 223301 Submitted by: omar.polo@protonmail.com (based on) --- audio/cava/files/patch-config.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 audio/cava/files/patch-config.c (limited to 'audio/cava/files/patch-config.c') diff --git a/audio/cava/files/patch-config.c b/audio/cava/files/patch-config.c new file mode 100644 index 000000000000..8059acc60d45 --- /dev/null +++ b/audio/cava/files/patch-config.c @@ -0,0 +1,11 @@ +--- config.c.orig 2017-08-26 08:52:40 UTC ++++ config.c +@@ -378,7 +378,7 @@ if (p->smcount > 0) { + iniparser_getseckeys(ini, "eq", keys); + #endif + #ifdef LEGACYINIPARSER +- char **keys = iniparser_getseckeys(ini, "eq"); ++ char **keys = iniparser_getseckeys(ini, "eq", keys); + #endif + for (int sk = 0; sk < p->smcount; sk++) { + p->smooth[sk] = iniparser_getdouble(ini, keys[sk], 1); -- cgit v1.2.3