termux-packages/packages/cava/config.c.patch

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;