termux-packages/packages/cava/config.c.patch
Oliver Schmidhauser 5eeea9ff89 Update Cava to 0.6.0
This also fixes a problem of it segfaulting when "r" is pressed (should
reload the config)
2017-08-28 18:41:36 +02:00

14 lines
457 B
Diff

diff --git a/config.c b/config.c
index 1da11cd..2e9ddd8 100644
--- a/config.c
+++ b/config.c
@@ -396,7 +396,7 @@ if (strcmp(inputMethod, "alsa") == 0) {
}
if (strcmp(inputMethod, "fifo") == 0) {
p->im = 2;
- p->audio_source = (char *)iniparser_getstring(ini, "input:source", "/tmp/mpd.fifo");
+ p->audio_source = (char *)iniparser_getstring(ini, "input:source", "@TERMUX_PREFIX@/tmp/mpd.fifo");
}
if (strcmp(inputMethod, "pulse") == 0) {
p->im = 3;