diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2017-10-30 09:44:12 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2017-10-30 09:44:12 +0000 |
commit | 6e458c9091e9364a80b9b7905745f9bbae265273 (patch) | |
tree | 4b8258de60c7e54761976d4a67485ecd5ae79fc6 /audio/cava/files/patch-config.c | |
parent | Update to 20171027 (diff) |
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)
Notes
Notes:
svn path=/head/; revision=453161
Diffstat (limited to 'audio/cava/files/patch-config.c')
-rw-r--r-- | audio/cava/files/patch-config.c | 11 |
1 files changed, 11 insertions, 0 deletions
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); |